|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.nava.informa.exporters.RSS_1_0_Exporter
public class RSS_1_0_Exporter
A channel exporter that can write channel objects out into the interchange syntax defined by RSS 1.0.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
void |
write(ChannelIF channel)
Writes the given channel to an implicit implementation dependent destination. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSS_1_0_Exporter(String filename) throws IOException
filename
- - The name of the file to which the channel object
is to be written.
IOException
public RSS_1_0_Exporter(File file) throws IOException
file
- - The file object to which the channel object is
to be written.
IOException
public RSS_1_0_Exporter(File file, String encoding) throws IOException
file
- - The file object to which the channel object is
to be written.encoding
- - The character encoding to write the channel
object in.
IOException
public RSS_1_0_Exporter(Writer writer, String encoding)
writer
- - The Writer to which the channel object is to be
written.encoding
- - The character encoding the Writer writes in.Method Detail |
---|
public void write(ChannelIF channel) throws IOException
ChannelExporterIF
write
in interface ChannelExporterIF
channel
- - The channel to be exported/written;
an object implementing ChannelIF.
IOException
- - Thrown if writing the channel fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |