|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.cssj.cti2.results.DirectoryResults
public class DirectoryResults
ディレクトリに複数の結果を出力するResultsです。
Field Summary | |
---|---|
protected int |
counter
|
protected File |
dir
|
protected String |
prefix
|
protected String |
suffix
|
Constructor Summary | |
---|---|
DirectoryResults(File dir,
String prefix,
String suffix)
出力先ディレクトリとファイル名の前後を指定してオブジェクトを構築します。 |
Method Summary | |
---|---|
void |
end()
一連のデータ出力を完了します。 |
boolean |
hasNext()
次の結果を出力可能であればtrueを返します。 |
RandomBuilder |
nextBuilder(MetaSource metaSource)
次の処理結果を構築するためのビルダを返します。 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final File dir
protected final String prefix
protected final String suffix
protected int counter
Constructor Detail |
---|
public DirectoryResults(File dir, String prefix, String suffix)
ファイルはdirに出力され、ファイル名は prefix, 1から始まる通し番号, suffixを連結したものとなります。
dir
- 出力先ディレクトリです。prefix
- ファイル名の前に付ける文字列です。suffix
- ファイル名の後に付ける文字列です。Method Detail |
---|
public boolean hasNext()
Results
hasNext
in interface Results
public RandomBuilder nextBuilder(MetaSource metaSource)
Results
nextBuilder
in interface Results
metaSource
- 出力データのメタ情報。
public void end()
Results
end
in interface Results
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |