gov.nih.nlm.util
Class UTF8InputStreamReader
java.lang.Object
java.io.Reader
java.io.InputStreamReader
gov.nih.nlm.util.UTF8InputStreamReader
- public class UTF8InputStreamReader
- extends InputStreamReader
An InputStreamReader
that ignores the first 3 bytes if they
are the UTF8 Byte Order Mark (BOM) bytes.
- Author:
- Deborah Shapiro
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTF8InputStreamReader
public UTF8InputStreamReader(BufferedInputStream input_stream)
throws UnsupportedEncodingException,
IOException
- Instantiates an
UTF8InputStreamReader
.
- Parameters:
input_stream
- BufferedInputStream
- Throws:
UnsupportedEncodingException
- if "UTF-8" is not suported
IOException
- if anything goes wrong
hasByteOrderMark
public boolean hasByteOrderMark()
Copyright ©2005