|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.cssj.cti2.results.DirectoryResults
public class DirectoryResults
ディレクトリに複数の結果を出力するResultsです。
フィールドの概要 | |
---|---|
protected int |
counter
|
protected File |
dir
|
protected String |
prefix
|
protected String |
suffix
|
コンストラクタの概要 | |
---|---|
DirectoryResults(File dir,
String prefix,
String suffix)
出力先ディレクトリとファイル名の前後を指定してオブジェクトを構築します。 |
メソッドの概要 | |
---|---|
void |
end()
一連のデータ出力を完了します。 |
boolean |
hasNext()
次の結果を出力可能であればtrueを返します。 |
jp.cssj.rsr.RandomBuilder |
nextBuilder(jp.cssj.resolver.MetaSource metaSource)
次の処理結果を構築するためのビルダを返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected final File dir
protected final String prefix
protected final String suffix
protected int counter
コンストラクタの詳細 |
---|
public DirectoryResults(File dir, String prefix, String suffix)
ファイルはdirに出力され、ファイル名は prefix, 1から始まる通し番号, suffixを連結したものとなります。
dir
- 出力先ディレクトリです。prefix
- ファイル名の前に付ける文字列です。suffix
- ファイル名の後に付ける文字列です。メソッドの詳細 |
---|
public boolean hasNext()
Results
の記述:
Results
内の hasNext
public jp.cssj.rsr.RandomBuilder nextBuilder(jp.cssj.resolver.MetaSource metaSource)
Results
の記述:
Results
内の nextBuilder
metaSource
- 出力データのメタ情報。
public void end()
Results
の記述:
Results
内の end
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |