com.compoze.collab.util
Class Utf7InputStreamReader
java.lang.Object
java.io.Reader
com.compoze.collab.util.Utf7InputStreamReader
- All Implemented Interfaces
- Closeable, Readable
public class Utf7InputStreamReader
- extends Reader
An InputStreamReader for reading UTF-7 encoded data.
Method Summary |
void |
close()
Close the stream. |
int |
read(char[] cChars,
int iOff,
int iLen)
Read characters into a portion of an array. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utf7InputStreamReader
public Utf7InputStreamReader(InputStream in)
- Constructs a Utf7InputStreamReader.
- Parameters
in
-
close
public void close()
throws IOException
- Close the stream.
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws
IOException
- If an I/O error occurs
read
public int read(char[] cChars,
int iOff,
int iLen)
throws IOException
- Read characters into a portion of an array.
- Specified by:
read
in class Reader
- Parameters
cChars
- Destination bufferiOff
- Offset at which to start storing charactersiLen
- Maximum number of characters to read
- Returns
- The number of characters read, or -1 if the end of the stream
has been reached
- Throws
IOException
- If an I/O error occurs
Copyright © 2006 BEA Systems, Inc. All Rights Reserved