com.simonstl.gorille
Class BrutEOL
java.lang.Object
|
+--java.io.Reader
|
+--java.io.FilterReader
|
+--com.simonstl.gorille.BrutEOL
- public final class BrutEOL
- extends java.io.FilterReader
- Version:
- 0.01 $Date: 2002/10/17 $
- Author:
- Simon St.Laurent
Field Summary |
protected java.lang.StringBuffer |
myBuffer
|
Fields inherited from class java.io.FilterReader |
in |
Fields inherited from class java.io.Reader |
lock |
Constructor Summary |
BrutEOL(java.io.InputStream in)
|
BrutEOL(java.io.Reader in)
|
Method Summary |
protected int |
feedFromInternalBuffer()
To keep the XML declaration, call keepXMLDecl(true) before processing the document. |
static void |
main(java.lang.String[] args)
This class defines a main() method to run this from the command line |
int |
read()
|
int |
read(char[] text,
int offset,
int length)
|
Methods inherited from class java.io.FilterReader |
close, mark, markSupported, ready, reset, skip |
Methods inherited from class java.io.Reader |
read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myBuffer
protected java.lang.StringBuffer myBuffer
BrutEOL
public BrutEOL(java.io.InputStream in)
BrutEOL
public BrutEOL(java.io.Reader in)
feedFromInternalBuffer
protected int feedFromInternalBuffer()
- To keep the XML declaration, call keepXMLDecl(true) before processing the document.
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.FilterReader
java.io.IOException
read
public int read(char[] text,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.FilterReader
java.io.IOException
main
public static void main(java.lang.String[] args)
- This class defines a main() method to run this from the command line