org.teatrove.tea.io
Class UnicodeReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.teatrove.trove.io.PositionReader
org.teatrove.tea.io.PositionReader
org.teatrove.tea.io.EscapeReader
org.teatrove.tea.io.UnicodeReader
- All Implemented Interfaces:
- Closeable, Readable
Deprecated. Moved to org.teatrove.trove.io package.
public class UnicodeReader
- extends EscapeReader
This reader handles unicode escapes in a character stream as defined by
The Java Language Specification.
A unicode escape consists of six characters: '\' and 'u' followed by
four hexadecimal digits. If the format of the escape is not correct, then
the escape is unprocessed. To prevent a correctly formatted unicode escape
from being processed, preceed it with another '\'.
- Author:
- Brian S O'Neill
|
Constructor Summary |
UnicodeReader(Reader source)
Deprecated. A UnicodeReader needs an underlying source Reader. |
|
Method Summary |
static void |
main(String[] arg)
Deprecated. |
int |
read()
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnicodeReader
public UnicodeReader(Reader source)
- Deprecated.
- A UnicodeReader needs an underlying source Reader.
- Parameters:
source - the source PositionReader
read
public int read()
throws IOException
- Deprecated.
- Overrides:
read in class PositionReader
- Throws:
IOException
main
public static void main(String[] arg)
throws Exception
- Deprecated.
- Throws:
Exception
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.