public class JapaneseEncodingDetector extends Object
Constructor and Description |
---|
JapaneseEncodingDetector(InputStream is)
Constructor for Japanese encoding detector.
|
Modifier and Type | Method and Description |
---|---|
String |
detect()
Return detected Japanese encoding of the target input stream.
|
byte[] |
getByteArray()
Return byte array that includes content of the target input stream.
|
InputStream |
getInputStream()
Return input stream that includes content of the target input stream.
|
int |
getLength()
Return length of the target input stream.
|
public JapaneseEncodingDetector(InputStream is)
is
- the target input streampublic InputStream getInputStream()
public int getLength()
public byte[] getByteArray()
public String detect() throws IOException
IOException