|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.nava.informa.exporters.RSS_0_91_Exporter
public class RSS_0_91_Exporter
A channel exporter that can write channel objects out into the interchange syntax defined by RSS 0.91.
| Field Summary | |
|---|---|
static String |
PUBLIC_ID
|
static String |
RSS_VERSION
|
static String |
SYSTEM_ID
|
| Constructor Summary | |
|---|---|
RSS_0_91_Exporter(File file)
Creates a channel exporter bound to the file given in the argument. |
|
RSS_0_91_Exporter(File file,
String encoding)
Creates a channel exporter bound to the file given in the arguments. |
|
RSS_0_91_Exporter(String filename)
Creates a channel exporter bound to the file given in the argument. |
|
RSS_0_91_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 |
| Field Detail |
|---|
public static final String PUBLIC_ID
public static final String SYSTEM_ID
public static final String RSS_VERSION
| Constructor Detail |
|---|
public RSS_0_91_Exporter(String filename)
throws IOException
filename - - The name of the file to which the channel object
is to be written.
IOException
public RSS_0_91_Exporter(File file)
throws IOException
file - - The file object to which the channel object is
to be written.
IOException
public RSS_0_91_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_0_91_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 ChannelExporterIFchannel - - 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 | |||||||||