|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Object | +--com.infoteria.asteria.flowlibrary2.stream.StreamFactory
ストリームファクトリ。
ストリームファクトリはコンポーネントで設定されたフィールド定義とストリームプロパティを保持し、
ストリームに対して適用します。
| コンストラクタの概要 | |
StreamFactory()
|
|
| メソッドの概要 | |
void |
addProperty(String name,
String value)
ストリーム定義のプロパティを設定します |
protected static boolean |
compare(Object o1,
Object o2)
|
abstract StreamDataObject |
create(byte[] b)
バイト列を基にストリームを作成します。 |
StreamDataObject |
create(File file)
Fileオブジェクトからストリームを作成します。 |
StreamDataObject |
create(InputStream is)
java.io.InputStreamからストリームを作成します。 |
StreamDataObject |
createEmptyStream()
空のストリームを作成します。 |
protected boolean |
doEquals(StreamFactory sf)
|
boolean |
equals(Object o)
|
FieldDefinition |
getFieldDefinition()
フィールド定義を取得します。 |
static StreamFactory |
getInstance(int type)
StreamTypeに応じたStreamFactoryのインスタンスを生成します |
int |
getType()
このファクトリのストリームフォーマットを返します。 |
void |
setFieldDefinition(FieldDefinition value)
フィールド定義を設定します。 |
void |
setProperties(StreamDataObject stream)
引数のstreamに対してストリームプロパティを適用します。 |
| クラス java.lang.Object から継承したメソッド |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
public StreamFactory()
| メソッドの詳細 |
public static StreamFactory getInstance(int type)
public void addProperty(String name,
String value)
throws CompileException
public void setProperties(StreamDataObject stream)
throws StreamException
public void setFieldDefinition(FieldDefinition value)
public FieldDefinition getFieldDefinition()
public int getType()
public abstract StreamDataObject create(byte[] b)
throws StreamException
public StreamDataObject createEmptyStream()
throws StreamException
public StreamDataObject create(File file)
throws StreamException
public StreamDataObject create(InputStream is)
throws StreamException
protected static boolean compare(Object o1,
Object o2)
public boolean equals(Object o)
Object 内の equalsprotected boolean doEquals(StreamFactory sf)
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||