public class CharsetDetectingReaderTest
extends java.lang.Object
| Constructor and Description |
|---|
CharsetDetectingReaderTest() |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
read(byte[] s,
int readBlockSize,
int detectorBlockSize) |
void |
testDetectISO_8859_1() |
void |
testDetectUTF8() |
void |
testReadInBlocks() |
void |
testReadSmallDetectorBlocks() |
void |
testSimple() |
void |
testUTF8CharacterOnBlockBoundary() |
public void testSimple()
throws java.io.IOException
java.io.IOExceptionpublic void testReadInBlocks()
throws java.io.IOException
java.io.IOExceptionpublic void testReadSmallDetectorBlocks()
throws java.io.IOException
java.io.IOExceptionpublic void testDetectUTF8()
throws java.io.IOException
java.io.IOExceptionpublic void testDetectISO_8859_1()
throws java.io.IOException
java.io.IOExceptionpublic void testUTF8CharacterOnBlockBoundary()
throws java.io.IOException
java.io.IOExceptionprivate java.lang.String read(byte[] s,
int readBlockSize,
int detectorBlockSize)
throws java.io.IOException
java.io.IOException