程序包 weka.experiment
类 OutputZipper
java.lang.Object
weka.experiment.OutputZipper
- 所有已实现的接口:
RevisionHandler
OutputZipper writes output to either gzipped files or to a
multi entry zip file. If the destination file is a directory
each output string will be written to an individually named
gzip file. If the destination file is a file, then each
output string is appended as a named entry to the zip file until
finished() is called to close the file.
- 版本:
- $Revision: 1.8 $
- 作者:
- Mark Hall (mhall@cs.waikato.ac.nz)
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
OutputZipper
Constructor.- 参数:
destination
- a destination file or directory- 抛出:
Exception
- if something goes wrong.
-
-
方法详细资料
-
zipit
Saves a string to either an individual gzipped file or as an entry in a zip file.- 参数:
outString
- the output string to savename
- the name of the file/entry to save it to- 抛出:
Exception
- if something goes wrong
-
finished
Closes the zip file.- 抛出:
Exception
- if something goes wrong
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-
main
Main method for testing this class
-