Class StreamDataFixedString

All Implemented Interfaces:
RecordSet, Serializable

public class StreamDataFixedString extends StreamDataText
固定長文字列ストリーム
See Also:
  • Field Details

    • RD_LINEFEED

      public static final int RD_LINEFEED
      RecordDelimiterのシンボル - 改行区切り
      See Also:
    • RD_LENGTH

      public static final int RD_LENGTH
      RecordDelimiterのシンボル - レコード長区切り
      See Also:
    • PACKED_SIGN_REQUIRED

      public static final int PACKED_SIGN_REQUIRED
      PackedSignのシンボル - 符号なしは不可
      See Also:
    • PACKED_SIGN_OPTION

      public static final int PACKED_SIGN_OPTION
      PackedSignのシンボル - 符号なしの入力を許容、正の符号を出力
      See Also:
    • PACKED_SIGN_ANY

      public static final int PACKED_SIGN_ANY
      PackedSignのシンボル - 符号なしの入力を許容、正の符号を出力しない
      See Also:
    • PACKED_SIGN_C_D

      public static final int PACKED_SIGN_C_D
      PackedSignFormatのシンボル - 符号は C(+)、D(-)
      See Also:
    • PACKED_SIGN_ACEF_BD

      public static final int PACKED_SIGN_ACEF_BD
      PackedSignFormatのシンボル - 符号は A,C,E,F(+)、B,D(-)
      See Also:
    • ZONED_SIGN_REQUIRED

      public static final int ZONED_SIGN_REQUIRED
      ZonedSignのシンボル - 符号なしは不可
      See Also:
    • ZONED_SIGN_OPTION

      public static final int ZONED_SIGN_OPTION
      ZonedSignのシンボル - 符号なしの入力を許容、正の符号を出力
      See Also:
    • ZONED_SIGN_ANY

      public static final int ZONED_SIGN_ANY
      ZonedSignのシンボル - 符号なしの入力を許容、正の符号を出力しない
      See Also:
    • ZONED_SIGN_C_D

      public static final int ZONED_SIGN_C_D
      ZonedSignFormatのシンボル - 符号は C(+)、D(-)
      See Also:
    • ZONED_SIGN_EBCDIC_COMPATIBLE

      public static final int ZONED_SIGN_EBCDIC_COMPATIBLE
      ZonedSignFormatのシンボル - 符号はEBCDIC互換 {ABCDEFGHI(+), }JKLMNOPQR(-)
      See Also:
  • Constructor Details

    • StreamDataFixedString

      public StreamDataFixedString()
      空のストリームを作成します。
    • StreamDataFixedString

      public StreamDataFixedString(String str)
      文字列からストリームを作成します。
    • StreamDataFixedString

      public StreamDataFixedString(byte[] b)
      バイト列を元にストリームを作成します。
    • StreamDataFixedString

      public StreamDataFixedString(List<Value[]> data)
      Listを引数にしてストリームを作成します。
      引数のListはValue[]のリストでなければなりません。
  • Method Details

    • getData

      protected List<Value[]> getData() throws StreamException
      FixedLengthの各フィールドを保持するListを取得します。
      Listの各要素は1レコードに対応し、その内容はValue[]となっています。
      Throws:
      StreamException
    • getRecordDelimiter

      public int getRecordDelimiter()
      RecordDelimiterを取得します。
    • getRecordLength

      public int getRecordLength()
      レコード長を取得します。
    • getStartRow

      public int getStartRow()
      開始行を取得します。
      開始行はファクトリの適用時に一度だけ評価され、あとは参照情報となります。
    • getPackedSign

      public int getPackedSign()
    • getPackedSignFormat

      public int getPackedSignFormat()
    • getZonedSign

      public int getZonedSign()
    • getZonedSignFormat

      public int getZonedSignFormat()
    • countShiftCode

      public boolean countShiftCode()
    • isMemoryReductionMode

      public boolean isMemoryReductionMode()
    • getRecord

      public Record getRecord() throws StreamException
      Description copied from interface: RecordSet
      Recordを取得します。
      Specified by:
      getRecord in interface RecordSet
      Overrides:
      getRecord in class StreamDataText
      Throws:
      StreamException
    • doConvertToDefaultStrategy

      protected StreamDataObject doConvertToDefaultStrategy() throws StreamException
      Overrides:
      doConvertToDefaultStrategy in class StreamDataText
      Throws:
      StreamException
    • getStrategyForFactory

      public com.infoteria.asteria.flowlibrary2.stream.strategy.IStreamStrategy getStrategyForFactory()