com.infoteria.asteria.flowlibrary2.stream
クラス StreamFactoryFixedString

java.lang.Object
  |
  +--com.infoteria.asteria.flowlibrary2.stream.StreamFactory
        |
        +--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText
              |
              +--com.infoteria.asteria.flowlibrary2.stream.StreamFactoryFixedString

public class StreamFactoryFixedString
extends StreamFactoryText

FixedLengthのストリームファクトリ。
StreamFactory#getTypeがStreamType.FIXED_LENGTHを返す場合このクラスにキャストできます。


メソッドの概要
 StreamDataObject create()
           
 StreamDataObject create(byte[] b)
           
 StreamDataObject create(byte[] b, String enc)
           
 StreamDataFixedString create(List list)
          Listを基にストリームを作成します。
 StreamDataObject create(String str)
           
 StreamDataObject createEmptyStream()
          "Encoding"パラメータを"utf-8"に設定した、空のFixedStringストリームを作成して返します。
 int getRecordDelimiter()
          RecordDelimiterプロパティの値を取得します。
 int getRecordLength()
          RecordLengthプロパティの値を取得します。
 int getStartRow()
          StartRowプロパティの値を取得します。
 
クラス com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText から継承したメソッド
getEncoding, getLineFeed
 
クラス com.infoteria.asteria.flowlibrary2.stream.StreamFactory から継承したメソッド
create, create, getFieldDefinition, getType, setProperties
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

create

public StreamDataObject create(byte[] b)
                        throws StreamException
クラス StreamFactory の記述:
バイト列を基にストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
オーバーライド:
クラス StreamFactoryText 内の create

create

public StreamDataObject create()
                        throws StreamException
クラス StreamFactoryText の記述:
空のストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
オーバーライド:
クラス StreamFactoryText 内の create

create

public StreamDataObject create(String str)
                        throws StreamException
クラス StreamFactoryText の記述:
文字列からストリームを作成します。
返り値のストリームにはストリームプロパティが適用されています。
オーバーライド:
クラス StreamFactoryText 内の create

create

public StreamDataObject create(byte[] b,
                               String enc)
                        throws StreamException
クラス StreamFactoryText の記述:
バイト列とエンコーディングを指定してストリームを作成します。
encがnullの場合AutoDetectとなります。
返り値のストリームにはストリームプロパティが適用されています。
オーバーライド:
クラス StreamFactoryText 内の create

create

public StreamDataFixedString create(List list)
                             throws StreamException
Listを基にストリームを作成します。
引数のListはValue[]のリストでなければなりません。

getRecordDelimiter

public int getRecordDelimiter()
RecordDelimiterプロパティの値を取得します。

getRecordLength

public int getRecordLength()
RecordLengthプロパティの値を取得します。

getStartRow

public int getStartRow()
StartRowプロパティの値を取得します。

createEmptyStream

public StreamDataObject createEmptyStream()
                                   throws StreamException
"Encoding"パラメータを"utf-8"に設定した、空のFixedStringストリームを作成して返します。
オーバーライド:
クラス StreamFactoryText 内の createEmptyStream