Expresso 5-6

com.jcorporate.expresso.ext.report
Class DocBookFilterWriter

java.lang.Object
  extended byjava.io.Writer
      extended byjava.io.FilterWriter
          extended bycom.jcorporate.expresso.ext.report.DocBookFilterWriter

public class DocBookFilterWriter
extends FilterWriter

A FilterWriter that understands the docbook entities and converts them from their character codes. This class is not threadsafe within a single instance and care should be taken.

Author:
David Lloyd

Field Summary
 
Fields inherited from class java.io.FilterWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
DocBookFilterWriter(Writer in)
          Create the writer on a stream.
 
Method Summary
 void close()
          Override from Writer.
 void write(char[] buf)
           
 void write(char[] buf, int off, int len)
           
 void write(int c)
          Override from Writer.
 void write(String s)
           
 void write(String s, int off, int len)
           
 
Methods inherited from class java.io.FilterWriter
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocBookFilterWriter

public DocBookFilterWriter(Writer in)
Create the writer on a stream.

Parameters:
in - The underlying output stream.
Method Detail

close

public void close()
           throws IOException
Override from Writer.

Throws:
IOException

write

public void write(int c)
           throws IOException
Override from Writer.

Throws:
IOException

write

public void write(char[] buf,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

write

public void write(char[] buf)
           throws IOException
Throws:
IOException

write

public void write(String s,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

write

public void write(String s)
           throws IOException
Throws:
IOException

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.