Package org.apache.juneau.uon
Class UonReader
java.lang.Object
java.io.Reader
org.apache.juneau.parser.ParserReader
org.apache.juneau.uon.UonReader
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Readable,- Positionable
Same functionality as %xx  escape sequences.
 
ParserReader except automatically decoded Escape sequences are assumed to be encoded UTF-8. Extended Unicode (>က0) is supported.
If decoding is enabled, the following character replacements occur so that boundaries are not lost:
- '&' ->- '' 
- '=' ->- '' 
See Also:
- 
Field SummaryFields inherited from class org.apache.juneau.parser.ParserReaderr
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.juneau.parser.ParserReaderclose, delete, delete, getMarked, getMarked, getPosition, mark, parseNumberString, peek, peekSkipWs, read, read, readCodePoint, readSkipWs, replace, replaceMethods inherited from class java.io.Readermark, markSupported, nullReader, read, read, ready, reset, skip, transferTo
- 
Constructor Details- 
UonReaderConstructor.- Parameters:
- pipe- The parser input.
- decodeChars- Whether the input is URL-encoded.
- Throws:
- IOException- Thrown by underlying stream.
 
 
- 
- 
Method Details- 
readDescription copied from class:ParserReaderSubclasses can override this method to provide additional filtering.Default implementation simply calls the same method on the underlying reader. - Overrides:
- readin class- ParserReader
- Throws:
- IOException
 
- 
unreadDescription copied from class:ParserReaderPushes the last read character back into the stream.- Overrides:
- unreadin class- ParserReader
- Returns:
- This object.
- Throws:
- IOException- If a problem occurred trying to read from the reader.
 
 
-