public class PPCWriter extends AbstractWriter
AbstractWriterwriter| Constructor and Description |
|---|
PPCWriter(java.io.File file)
Constructs a PPCWriter to write content into a file.
|
PPCWriter(java.io.OutputStream stream)
Constructs a PPCWriter to write content into a given stream.
|
PPCWriter(java.lang.String filename)
Constructs a PPCWriter to write content into a file.
|
PPCWriter(java.io.Writer writer)
Constructs a PPCWriter to write content into a given Writer instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(AbstractMT msg)
Writes the message into the internal writer in DOS-PPC format
|
static void |
write(AbstractMT msg,
java.io.Writer writer)
Writes the message into the writer in DOS-PPC format
|
void |
write(java.lang.String msg)
Writes the message content into the internal writer in DOS-PPC format.
|
static void |
write(java.lang.String msg,
java.io.Writer writer)
Writes the message content into the writer in DOS-PPC format
|
close, flushpublic PPCWriter(java.io.Writer writer)
public PPCWriter(java.io.File file)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic PPCWriter(java.lang.String filename)
throws java.io.FileNotFoundException
filename - file to createjava.io.FileNotFoundExceptionpublic PPCWriter(java.io.OutputStream stream)
public static void write(AbstractMT msg, java.io.Writer writer) throws java.io.IOException
msg - message to writejava.io.IOException - if an I/O error occurspublic static void write(java.lang.String msg,
java.io.Writer writer)
throws java.io.IOException
msg - SWIFT MT content to writejava.io.IOException - if an I/O error occurspublic void write(java.lang.String msg)
throws java.io.IOException
msg - SWIFT MT content to writejava.io.IOException - if an I/O error occurspublic void write(AbstractMT msg) throws java.io.IOException
msg - message to writejava.io.IOException - if an I/O error occurs