|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.ozacc.blog.rss.informa.RSSGeneratorImpl
InformaのChannelExporterを使用して、RSSを出力します。
フィールドの概要 | |
static String |
DEFAULT_CHARSET
デフォルトの文字コード「UTF-8」。 |
protected ChannelExporterIF |
exporter
|
コンストラクタの概要 | |
RSSGeneratorImpl()
コンストラクタ。 |
|
RSSGeneratorImpl(String charset)
使用する文字コードをセットするコンストラクタ。 |
メソッドの概要 | |
org.jdom.Document |
convertIntoJDOMDocument(Channel channel,
RSSVersion rssVersion)
ChannelをJDOM Documentに変換します。 |
Channel |
newChannel()
新しいChannelインスタンスを生成します。 |
void |
setCharset(String charset)
出力ファイルに使用する文字コードをセットします。 |
void |
write(Channel channel,
File file,
RSSVersion rssVersion)
RSS 1.0とRSS 2.0の書き出しをサポートしています。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public static final String DEFAULT_CHARSET
protected ChannelExporterIF exporter
コンストラクタの詳細 |
public RSSGeneratorImpl()
public RSSGeneratorImpl(String charset)
charset
- 出力ファイルに使用する文字コードメソッドの詳細 |
public void setCharset(String charset)
charset
- 出力ファイルに使用する文字コードpublic Channel newChannel()
RSSGenerator
の記述:
RSSGenerator
内の newChannel
RSSGenerator.newChannel()
public void write(Channel channel, File file, RSSVersion rssVersion) throws IOException
RSSGenerator
内の write
channel
- 出力するChannelfile
- 出力先ファイルrssVersion
- 出力されるRSSフォーマットのバージョン
IOException
- ファイルの書き出しに失敗した場合RSSGenerator.write(com.ozacc.blog.rss.Channel, java.io.File, com.ozacc.blog.rss.RSSVersion)
public org.jdom.Document convertIntoJDOMDocument(Channel channel, RSSVersion rssVersion)
RSSGenerator
の記述:
RSSGenerator
内の convertIntoJDOMDocument
channel
- 変換元のChannelrssVersion
- RSSフォーマットのバージョン
RSSGenerator.convertIntoJDOMDocument(com.ozacc.blog.rss.Channel, com.ozacc.blog.rss.RSSVersion)
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |