com.infoteria.asteria.flowlibrary2.stream
Class StreamUtil

java.lang.Object
  |
  +--com.infoteria.asteria.flowlibrary2.stream.StreamUtil

public class StreamUtil
extends Object

ユーティリティクラス


Constructor Summary
StreamUtil()
           
 
Method Summary
static boolean equalsField(Field f1, Field f2)
           
static boolean equalsFieldDefinition(FieldDefinition fd1, FieldDefinition fd2)
           
static boolean equalsLineFeed(LineFeed lf1, LineFeed lf2)
           
static boolean equalsStreamFactory(StreamFactory sf1, StreamFactory sf2)
           
static boolean equalsString(String s1, String s2)
           
static String getFileExtension(int type)
          引数のストリームタイプに応じた拡張子を返します。 ストリームタイプ返り値 Binary, FixedLength, MIME.bin Text.txt HTML.html CSV.csv XML, ParameterList, Record.xml
static String getKeyString()
          For memory get put remove
static String getStreamStr(StreamDataObject stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtil

public StreamUtil()
Method Detail

getFileExtension

public static String getFileExtension(int type)
引数のストリームタイプに応じた拡張子を返します。
ストリームタイプ返り値
Binary, FixedLength, MIME.bin
Text.txt
HTML.html
CSV.csv
XML, ParameterList, Record.xml

getKeyString

public static String getKeyString()
For memory get put remove

getStreamStr

public static String getStreamStr(StreamDataObject stream)
                           throws StreamException

equalsStreamFactory

public static boolean equalsStreamFactory(StreamFactory sf1,
                                          StreamFactory sf2)

equalsString

public static boolean equalsString(String s1,
                                   String s2)

equalsLineFeed

public static boolean equalsLineFeed(LineFeed lf1,
                                     LineFeed lf2)

equalsFieldDefinition

public static boolean equalsFieldDefinition(FieldDefinition fd1,
                                            FieldDefinition fd2)

equalsField

public static boolean equalsField(Field f1,
                                  Field f2)