| java.lang.Object java.io.Reader fri.util.io.UnicodeReader
UnicodeReader | public class UnicodeReader extends Reader (Code) | | Reads away UNICODE Byte Order Mark on construction. See
http://www.unicode.org/unicode/faq/utf_bom.html
00 00 FE FF = UTF-32, big-endian
FF FE 00 00 = UTF-32, little-endian
FE FF = UTF-16, big-endian
FF FE = UTF-16, little-endian
EF BB BF = UTF-8
|
Method Summary | |
public void | close() Overridden to use delegate reader. | public String | getEncoding() Returns the encoding that was read from byte order mark if there was one. | public int | read(char[] cbuf, int off, int len) Overridden to use delegate reader. |
getEncoding | public String getEncoding()(Code) | | Returns the encoding that was read from byte order mark if there was one.
|
read | public int read(char[] cbuf, int off, int len) throws IOException(Code) | | Overridden to use delegate reader.
|
|
|