|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowlibrary2.property.ValueProperty | +--com.infoteria.asteria.flowlibrary2.property.StringProperty | +--com.infoteria.asteria.flowlibrary2.property.EncodingProperty
StringPropertyを拡張してEncodingの設定に特化したクラスです。
Field Summary | |
static String |
STR_AUTODETECT
|
static String |
STR_PLATFORM
|
Constructor Summary | |
EncodingProperty(String name)
EncodingProperty(name, false, true, null) と同じです。 |
|
EncodingProperty(String name,
boolean required)
EncodingProperty(name, required, true, null) と同じです。 |
|
EncodingProperty(String name,
boolean required,
boolean mapable)
EncodingProperty(name, required, mapable, null) と同じです。 |
|
EncodingProperty(String name,
boolean required,
boolean mapable,
String value)
コンストラクタ |
Method Summary | |
String |
getEncoding()
strValueを解釈してエンコーディング名を返します。 strValueが"(AutoDetect)"の場合は"JISAutoDetect"を返します。 strValueが"(Platform)"の場合はnullを返します。 strValueが設定されていない場合は"us-ascii"を返します。 それ以外の場合はstrValueを返します。 strValueがエンコーディング名として正当かどうかはチェックされません。 |
boolean |
isAutoDetect()
設定値が"(AutoDetect)"の場合にtrueを返します。 |
boolean |
isPlatform()
設定値が"(Platform)"の場合にtrueを返します。 |
Methods inherited from class com.infoteria.asteria.flowlibrary2.property.StringProperty |
setValue, strValue |
Methods inherited from class com.infoteria.asteria.flowlibrary2.property.ValueProperty |
assign, clone, getName, getType, getValue, getValueType, init, isMapable, isNull, isRequired, resetMacro, setRequired, setString, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String STR_AUTODETECT
public static final String STR_PLATFORM
Constructor Detail |
public EncodingProperty(String name)
public EncodingProperty(String name, boolean required)
public EncodingProperty(String name, boolean required, boolean mapable)
public EncodingProperty(String name, boolean required, boolean mapable, String value)
name
- プロパティ名required
- このプロパティが必須プロパティの場合はtruemapable
- このプロパティがMapping可能な場合はtruevalue
- デフォルト値Method Detail |
public boolean isAutoDetect()
public boolean isPlatform()
public String getEncoding()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |