|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.ozacc.blog.feed.impl.FeedGeneratorImpl
public class FeedGeneratorImpl
FeedGenerator インターフェースの実装クラス。
| フィールドの概要 | |
|---|---|
static String |
DEFAULT_CHARSET
デフォルトの文字コード「UTF-8」。 |
| コンストラクタの概要 | |
|---|---|
FeedGeneratorImpl()
コンストラクタ。 |
|
FeedGeneratorImpl(String charset)
使用する文字コードをセットするコンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
org.jdom.Document |
convertIntoJDOMDocument(Channel channel,
FeedFormat rssVersion)
ChannelをJDOM Documentに変換します。 |
String |
convertIntoString(Channel channel,
FeedFormat rssVersion)
RSS 1.0 と ATOM 0.3 に対応しています。 |
void |
setCharset(String charset)
出力ファイルに使用する文字コードをセットします。 |
void |
write(Channel channel,
File file,
FeedFormat rssVersion)
RSS 1.0 と ATOM 0.3 に対応しています。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final String DEFAULT_CHARSET
| コンストラクタの詳細 |
|---|
public FeedGeneratorImpl()
public FeedGeneratorImpl(String charset)
charset - 出力ファイルに使用する文字コード| メソッドの詳細 |
|---|
public void setCharset(String charset)
charset - 出力ファイルに使用する文字コード
public void write(Channel channel,
File file,
FeedFormat rssVersion)
throws IOException
FeedGenerator 内の writechannel - 出力するChannelfile - 出力先ファイルrssVersion - 出力されるRSSフォーマットのバージョン
IOException - ファイルの書き出しに失敗した場合FeedGenerator.write(com.ozacc.blog.feed.Channel, java.io.File, com.ozacc.blog.feed.FeedFormat)
public org.jdom.Document convertIntoJDOMDocument(Channel channel,
FeedFormat rssVersion)
FeedGenerator の記述:
FeedGenerator 内の convertIntoJDOMDocumentchannel - 変換元のChannelrssVersion - RSSフォーマットのバージョン
FeedGenerator.convertIntoJDOMDocument(com.ozacc.blog.feed.Channel, com.ozacc.blog.feed.FeedFormat)
public String convertIntoString(Channel channel,
FeedFormat rssVersion)
FeedGenerator 内の convertIntoStringchannel - XML文字列として出力するChannelrssVersion - 出力されるRSSフォーマットのバージョン
FeedGenerator.convertIntoString(com.ozacc.blog.feed.Channel, com.ozacc.blog.feed.FeedFormat)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||