com.ozacc.blog.rss.informa
クラス RSS_1_0_Exporter

java.lang.Object
  拡張com.ozacc.blog.rss.informa.RSS_1_0_Exporter
すべての実装インタフェース:
ChannelExporterIF

public class RSS_1_0_Exporter
extends Object
implements ChannelExporterIF

InformaのRSS_1_0_Exporterをozacc-blog用に改造したクラス。

A channel exporter that can write channel objects out into the interchange syntax defined by RSS 1.0.

導入されたバージョン:
1.0

コンストラクタの概要
RSS_1_0_Exporter(File file)
          Creates a channel exporter bound to the file given in the argument.
RSS_1_0_Exporter(File file, String encoding)
          Creates a channel exporter bound to the file given in the arguments.
RSS_1_0_Exporter(String filename)
          Creates a channel exporter bound to the file given in the argument.
RSS_1_0_Exporter(Writer writer, String encoding)
          Creates a channel exporter bound to the Writer given in the arguments.
 
メソッドの概要
static Document getDocument(ChannelIF channel)
           
static org.jdom.Document getJdomDocument(ChannelIF channel)
           
 void write(ChannelIF channel)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RSS_1_0_Exporter

public RSS_1_0_Exporter(String filename)
                 throws IOException
Creates a channel exporter bound to the file given in the argument. The channel will be written out in the UTF-8 encoding.

パラメータ:
filename - - The name of the file to which the channel object is to be written.

RSS_1_0_Exporter

public RSS_1_0_Exporter(File file)
                 throws IOException
Creates a channel exporter bound to the file given in the argument. The channel will be written out in the UTF-8 encoding.

パラメータ:
file - - The file object to which the channel object is to be written.

RSS_1_0_Exporter

public RSS_1_0_Exporter(File file,
                        String encoding)
                 throws IOException
Creates a channel exporter bound to the file given in the arguments.

パラメータ:
file - - The file object to which the channel object is to be written.
encoding - - The character encoding to write the channel object in.

RSS_1_0_Exporter

public RSS_1_0_Exporter(Writer writer,
                        String encoding)
Creates a channel exporter bound to the Writer given in the arguments.

パラメータ:
writer - - The Writer to which the channel object is to be written.
encoding - - The character encoding the Writer writes in.
メソッドの詳細

write

public void write(ChannelIF channel)
           throws IOException
定義:
インタフェース ChannelExporterIF 内の write
例外:
IOException

getJdomDocument

public static org.jdom.Document getJdomDocument(ChannelIF channel)

getDocument

public static Document getDocument(ChannelIF channel)
                            throws org.jdom.JDOMException
例外:
org.jdom.JDOMException


Copyright © 2004 OZACC. All Rights Reserved.