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.IOException
public void testReadInBlocks() throws java.io.IOException
java.io.IOException
public void testReadSmallDetectorBlocks() throws java.io.IOException
java.io.IOException
public void testDetectUTF8() throws java.io.IOException
java.io.IOException
public void testDetectISO_8859_1() throws java.io.IOException
java.io.IOException
public void testUTF8CharacterOnBlockBoundary() throws java.io.IOException
java.io.IOException
private java.lang.String read(byte[] s, int readBlockSize, int detectorBlockSize) throws java.io.IOException
java.io.IOException