public class VariableLengthFile extends DataFile
all, directives| Constructor and Description |
|---|
VariableLengthFile(java.lang.String path)
コンストラクタ。
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
convertDirectiveValue(DataRecordFormatterSupport.Directive directive,
java.lang.String stringValue)
ディレクティブの値を、文字列から各ディレクティブが許容する型に変換する。
|
protected DataFileFragment |
createNewFragment()
新しいファイルの断片を生成する。
生成された断片はこのファイルの管理下に置かれる。 |
protected java.lang.String |
getFileType()
ファイルタイプを取得する。
|
protected DataRecordFormatterSupport.Directive |
valueOf(java.lang.String directiveName)
ディレクティブ名称からディレクティブを取得する。
|
createLayout, createLayout, getEncodingFromDirectives, getNewFragment, getPath, prepareDefaultDirectives, read, setDirective, toDataRecords, writepublic VariableLengthFile(java.lang.String path)
path - ファイルパスprotected java.lang.String getFileType()
getFileType in class DataFileprotected DataFileFragment createNewFragment()
createNewFragment in class DataFileVariableLengthFileFragmentprotected DataRecordFormatterSupport.Directive valueOf(java.lang.String directiveName)
valueOf in class DataFiledirectiveName - ディレクティブ名称VariableLengthDataRecordFormatter.VariableLengthDirectiveprotected java.lang.Object convertDirectiveValue(DataRecordFormatterSupport.Directive directive, java.lang.String stringValue)
convertDirectiveValue in class DataFiledirective - ディレクティブstringValue - 値