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

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

public class StreamFactoryCSV
extends StreamFactoryText

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


メソッドの概要
 StreamDataObject create()
           
 StreamDataObject create(byte[] b)
           
 StreamDataObject create(byte[] b, String enc)
           
 StreamDataObject create(List list)
           
 StreamDataObject create(String str)
           
 int getNullQuoting()
          QuotedModeプロパティの値を取得します。
 char getQuotedBy()
          QuotedByプロパティの値を取得します。
 char getSeparator()
          Separatorプロパティの値を取得します。
 int getStartRow()
          StartRowプロパティの値を取得します。
 boolean isOutputFieldName()
          OutputFieldNameプロパティの値を取得します。
 void setupParser(com.infoteria.asteria.util.csv.CSVParser parser)
           
 
クラス com.infoteria.asteria.flowlibrary2.stream.StreamFactoryText から継承したメソッド
createEmptyStream, 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 StreamDataObject create(List list)
                        throws StreamException

getSeparator

public char getSeparator()
Separatorプロパティの値を取得します。

getQuotedBy

public char getQuotedBy()
QuotedByプロパティの値を取得します。

getStartRow

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

getNullQuoting

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

isOutputFieldName

public boolean isOutputFieldName()
OutputFieldNameプロパティの値を取得します。

setupParser

public void setupParser(com.infoteria.asteria.util.csv.CSVParser parser)