|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.actf.util.JapaneseEncodingDetector
public class JapaneseEncodingDetector
Utility class for detecting Japanese encoding.
| Constructor Summary | |
|---|---|
JapaneseEncodingDetector(InputStream is)
Constructor for Japanese encoding detector. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JapaneseEncodingDetector(InputStream is)
is - the target input stream| Method Detail |
|---|
public InputStream getInputStream()
public int getLength()
public byte[] getByteArray()
public String detect()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||