talx.util
Class UnescapeInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
talx.util.UnescapeInputStream
- public class UnescapeInputStream
- extends java.io.FilterInputStream
InputStream that replaces escaped characters with the original character.
While the stream is being read, the following substitutions are made:
- \n becomes newline
- \r becomes carriage return
- \t becomes tab
- \f becomes form feed
- \b becomes backspace
- \x becomes x for any x not listed above.
| Fields inherited from class java.io.FilterInputStream |
in |
|
Method Summary |
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
| Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnescapeInputStream
public UnescapeInputStream(java.io.InputStream in)
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.