Package nablarch.core.dataformat
Class FixedLengthDataRecordFormatter.FixedLengthDirective
java.lang.Object
nablarch.core.dataformat.DataRecordFormatterSupport.Directive
nablarch.core.dataformat.FixedLengthDataRecordFormatter.FixedLengthDirective
- Enclosing class:
- FixedLengthDataRecordFormatter
public static class FixedLengthDataRecordFormatter.FixedLengthDirective
extends DataRecordFormatterSupport.Directive
固定長ファイルフォーマッタが使用するディレクティブの名前と値の型。
 以下に一覧を示す。
 
- positive-zone-sign-nibble:String
- negative-zone-sign-nibble:String
- positive-pack-sign-nibble:String
- negative-pack-sign-nibble:String
- fixed-sign-position:Boolean
- required-plus-sign:Boolean
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final DataRecordFormatterSupport.Directive符号位置の固定/非固定のデフォルト設定static final DataRecordFormatterSupport.Directiveパック数値の符号ビット(負)のデフォルト設定static final DataRecordFormatterSupport.Directiveゾーン数値の符号ビット(負)のデフォルト設定static final DataRecordFormatterSupport.Directiveパック数値の符号ビット(正)のデフォルト設定static final DataRecordFormatterSupport.Directiveゾーン数値の符号ビット(正)のデフォルト設定static final DataRecordFormatterSupport.Directive1レコードあたりのバイト長static final DataRecordFormatterSupport.Directive小数点の要否のデフォルト設定static final DataRecordFormatterSupport.Directive正の符号の要否のデフォルト設定static final Map<String,DataRecordFormatterSupport.Directive> 列挙型の全要素(親クラスの要素を含む)Fields inherited from class nablarch.core.dataformat.DataRecordFormatterSupport.DirectiveFILE_TYPE, RECORD_SEPARATOR, TEXT_ENCODING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic BooleangetFixedSignPosition(Map<String, Object> directive) 符号位置の固定/非固定のデフォルト設定を取得する。static StringgetNegativePackSignNibble(Map<String, Object> directive) パック数値の符号ビット(正)のデフォルト設定を取得する。static StringgetNegativeZoneSignNibble(Map<String, Object> directive) ゾーン数値の符号ビット(負)のデフォルト設定を取得する。static StringgetPositivePackSignNibble(Map<String, Object> directive) パック数値の符号ビット(正)のデフォルト設定を取得する。static StringgetPositiveZoneSignNibble(Map<String, Object> directive) ゾーン数値の符号ビット(正)のデフォルト設定を取得する。static IntegergetRecordLength(Map<String, Object> directive) 1レコードあたりのバイト長を取得する。static BooleangetRequiredDecimalPoint(Map<String, Object> directive) 小数点の要否のデフォルト設定を取得する。static BooleangetRequiredPlusSign(Map<String, Object> directive) 正の符号の要否のデフォルト設定を取得する。ディレクティブの値を取得する。Methods inherited from class nablarch.core.dataformat.DataRecordFormatterSupport.DirectivecreateDirectiveMap, getFileType, getName, getRecordSeparator, getTextEncoding, getType
- 
Field Details- 
RECORD_LENGTH1レコードあたりのバイト長
- 
POSITIVE_ZONE_SIGN_NIBBLEゾーン数値の符号ビット(正)のデフォルト設定
- 
NEGATIVE_ZONE_SIGN_NIBBLEゾーン数値の符号ビット(負)のデフォルト設定
- 
POSITIVE_PACK_SIGN_NIBBLEパック数値の符号ビット(正)のデフォルト設定
- 
NEGATIVE_PACK_SIGN_NIBBLEパック数値の符号ビット(負)のデフォルト設定
- 
REQUIRED_DECIMAL_POINT小数点の要否のデフォルト設定
- 
FIXED_SIGN_POSITION符号位置の固定/非固定のデフォルト設定
- 
REQUIRED_PLUS_SIGN正の符号の要否のデフォルト設定
- 
VALUES列挙型の全要素(親クラスの要素を含む)
 
- 
- 
Constructor Details- 
FixedLengthDirectiveコンストラクタ。- Parameters:
- name- ディレクティブ名
- type- ディレクティブの値の型
 
 
- 
- 
Method Details- 
getRecordLength1レコードあたりのバイト長を取得する。- Parameters:
- directive- ディレクティブ
- Returns:
- 1レコードあたりのバイト長
 
- 
getPositiveZoneSignNibbleゾーン数値の符号ビット(正)のデフォルト設定を取得する。- Parameters:
- directive- デフォルト値
- Returns:
- ゾーン数値の符号ビット(正)のデフォルト設定
 
- 
getNegativeZoneSignNibbleゾーン数値の符号ビット(負)のデフォルト設定を取得する。- Parameters:
- directive- デフォルト値
- Returns:
- ゾーン数値の符号ビット(負)のデフォルト設定
 
- 
getPositivePackSignNibbleパック数値の符号ビット(正)のデフォルト設定を取得する。- Parameters:
- directive- デフォルト値
- Returns:
- パック数値の符号ビット(正)のデフォルト設定
 
- 
getNegativePackSignNibbleパック数値の符号ビット(正)のデフォルト設定を取得する。- Parameters:
- directive- デフォルト値
- Returns:
- パック数値の符号ビット(負)のデフォルト設定
 
- 
getRequiredDecimalPoint小数点の要否のデフォルト設定を取得する。- Parameters:
- directive- デフォルト値
- Returns:
- 小数点の要否
 
- 
getFixedSignPosition符号位置の固定/非固定のデフォルト設定を取得する。- Parameters:
- directive- デフォルト値
- Returns:
- 符号位置の固定/非固定のデフォルト設定
 
- 
getRequiredPlusSign正の符号の要否のデフォルト設定を取得する。- Parameters:
- directive- デフォルト値
- Returns:
- 正の符号の要否のデフォルト設定
 
- 
valueOfディレクティブの値を取得する。- Parameters:
- name- ディレクティブの名前
- Returns:
- ディレクティブの値
 
 
-