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 Summary
FieldsModifier 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.Directive
FILE_TYPE, RECORD_SEPARATOR, TEXT_ENCODING -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Directive
createDirectiveMap, getFileType, getName, getRecordSeparator, getTextEncoding, getType
-
Field Details
-
RECORD_LENGTH
1レコードあたりのバイト長 -
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
-
getRecordLength
1レコードあたりのバイト長を取得する。- 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:
- ディレクティブの値
-