ca.gorman.util.scan
Class ScanningWriter
java.lang.Object
java.io.Writer
ca.gorman.util.scan.ScanningWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class ScanningWriter
- extends Writer
A Writer
with a character scanning and
matching
postprocessor.
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(char[] chr,
int offset,
int length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScanningWriter
protected ScanningWriter(ScannerFactory scannerFactory,
Writer writer,
RuleList ruleList)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
ScanningWriter
public ScanningWriter(Writer writer,
RuleList ruleList)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
ScanningWriter
public ScanningWriter(Writer writer,
ScanRule... scanRule)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class Writer
- Throws:
IOException
write
public void write(char[] chr,
int offset,
int length)
throws IOException
- Specified by:
write
in class Writer
- Throws:
IOException
GXPARSE Generic XML Stream Parser API and supporting tools.
Release $Name: gxparse-sf-alpha-2_0 $
Copyright 2003-2004
Ian E. Gorman
Released under
GNU Lesser General Public License