public abstract class PropertyBase extends Object implements IProperty
コンテンツラインの入出力処理を実装します。
| コンストラクタと説明 |
|---|
PropertyBase()
コンストラクタ
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
abstract String |
getParamString()
プロパティパラメータの文字列を取得します。
|
abstract String |
getValueString()
プロパティ値の文字列を取得します。
|
String |
name()
プロパティ名を取得します。
|
boolean |
read(IacICalendarReader reader)
プロパティ情報を読み取ります。
|
abstract void |
setParamString(String paramString)
プロパティパラメータの文字列を解析して値を設定します。
|
abstract void |
setValueString(String valueString)
プロパティ値の文字列を解析して値を設定します。
|
String |
toString()
文字列表現を取得します。
|
void |
write(IacICalendarWriter writer)
プロパティ情報を出力します。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasValuepublic abstract String getParamString()
public abstract String getValueString()
public boolean read(IacICalendarReader reader) throws IacICalendarIOException
プロパティ名が一致する場合のみ読取処理を行います。
以下の処理を行います。
setParamString(String): プロパティパラメータの文字列解析、インスタンス生成および値の設定setValueString(String): プロパティ値の文字列解析、インスタンス生成および値の設定read インタフェース内 IPropertyreader - リーダーtrue:読取処理完了/false:読取処理なし)IacICalendarIOException - 読取処理に失敗した場合public abstract void setParamString(String paramString)
paramString - プロパティパラメータの文字列public abstract void setValueString(String valueString)
valueString - プロパティ値の文字列public String toString()
以下の各文字列を組み合わせて生成します。
ContentLineInfo#name() 値getParamString() 返却値getValueString() 返却値null もしくは空・空白の場合はパラメータ部を付加しません。
Constants.PARAM_SEPARATOR + param + Constants.SEPARATOR + valueConstants.SEPARATOR + valuenull / 空チェックを行わずにそのまま連結します。
toString クラス内 ObjectObject.toString()public void write(IacICalendarWriter writer) throws IacICalendarIOException
以下の各文字列を組み合わせて生成した文字列を出力します。
ContentLineInfo#name() 値getParamString() 返却値getValueString() 返却値null もしくは空・空白の場合はパラメータ部を付加しません。
Constants.PARAM_SEPARATOR + param + Constants.SEPARATOR + valueConstants.SEPARATOR + valuenull の場合IContentLine.hasValue() == false)null もしくは空・空白の場合write インタフェース内 IPropertywriter - ライターIacICalendarIOException - 出力処理に失敗した場合IContentLine.hasValue(),
IacICalendarWriter.writeLine(String)Copyright © 2012-2015 NTT DATA INTRAMART CORPORATION