com.starbase.util
Class UTF8InputStreamReader
java.lang.Object
|
+--java.io.Reader
|
+--com.starbase.util.UTF8InputStreamReader
- public class UTF8InputStreamReader
- extends java.io.Reader
|
Constructor Summary |
UTF8InputStreamReader(java.io.InputStream utf8stream)
Wraps a Reader around an input stream of UTF8 bytes. |
|
Method Summary |
void |
close()
|
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
int |
hashCode()
returns a unique hash for all instances of this type |
int |
read(char[] cbuf,
int off,
int len)
|
| Methods inherited from class java.io.Reader |
mark, markSupported, read, read, ready, reset, skip |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
UTF8InputStreamReader
public UTF8InputStreamReader(java.io.InputStream utf8stream)
- Wraps a Reader around an input stream of UTF8 bytes.
read
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Specified by:
read in class java.io.Reader
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in class java.io.Reader
java.io.IOException
equals
public boolean equals(java.lang.Object source)
- returns true if this object instance is equal to the source
- Overrides:
equals in class java.lang.Object
- Parameters:
source - Object the source to comapre with
- Returns:
- boolean true if this object is equal to the source
hashCode
public int hashCode()
- returns a unique hash for all instances of this type
- Overrides:
hashCode in class java.lang.Object
- Returns:
- int a unique hash for all instances of this type
StarTeam SDK 10.4, Build 36
Copyright © 2003-2008 Borland Software Corporation. All rights reserved.