public class FixedLengthFile extends DataFile
all, directives| コンストラクタと説明 | 
|---|
FixedLengthFile(java.lang.String path)
コンストラクタ。 
 | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
DataRecord | 
convertData(LayoutDefinition definition,
           DataRecord currentData)
テストデータを変換します。 
 | 
LayoutDefinition | 
createDefinition(LayoutDefinition defaultDefinition,
                DataRecord currentData)
現在処理中のテストデータに対応したレイアウト定義データを生成します。 
 | 
LayoutDefinition | 
createLayout()
フォーマット定義を作成する。 
 | 
LayoutDefinition | 
createLayout(DataFileFragment... fragment)
単一のレコード定義を持つフォーマット定義を生成する。 
 | 
protected DataFileFragment | 
createNewFragment()
新しいファイルの断片を生成する。 
 | 
protected java.lang.String | 
getFileType()
ファイルタイプを取得する。 
 | 
protected DataRecordFormatterSupport.Directive | 
valueOf(java.lang.String directiveName)
ディレクティブ名称からディレクティブを取得する。 
 | 
convertDirectiveValue, getEncodingFromDirectives, getNewFragment, getPath, prepareDefaultDirectives, read, setDirective, toDataRecords, writepublic FixedLengthFile(java.lang.String path)
path - ファイルパスprotected java.lang.String getFileType()
getFileType クラス内 DataFileprotected DataFileFragment createNewFragment()
createNewFragment クラス内 DataFileFixedLengthFileFragmentprotected DataRecordFormatterSupport.Directive valueOf(java.lang.String directiveName)
valueOf クラス内 DataFiledirectiveName - ディレクティブ名称FixedLengthDataRecordFormatter.FixedLengthDirectivepublic LayoutDefinition createLayout()
DataFileFragmentのレイアウト情報を元に
 フォーマット定義を生成する。createLayout クラス内 DataFilepublic LayoutDefinition createLayout(DataFileFragment... fragment)
createLayout クラス内 DataFilefragment - レコード定義を取り出すための断片public LayoutDefinition createDefinition(LayoutDefinition defaultDefinition, DataRecord currentData)
defaultDefinition - エクセルファイルに記述されたデータから生成されたデフォルトのレイアウト定義データcurrentData - 現在処理中の#convertData(DataRecord) 呼出し後のテストデータ。public DataRecord convertData(LayoutDefinition definition, DataRecord currentData)
definition - エクセルファイルに記述されたデータから生成されたデフォルトのレイアウト定義データcurrentData - 現在処理中のエクセルファイルに記述されたテストデータ。