public class EncodingDetectorTest extends Object
| Constructor and Description |
|---|
EncodingDetectorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
asciiAssumesUtf8() |
void |
assumeLatin1OnInvalidUtf8() |
void |
badStreamEnd() |
void |
detectedUtf8WithByteOrderMark() |
void |
doNotAssumeLatin1OnInvalidUtf8() |
void |
longUtf8StringIsUtf8() |
void |
nullCustomDetector() |
void |
shortUtf8StringIsUtf8() |
void |
testFallbackDetectorIsUsed() |
public void detectedUtf8WithByteOrderMark()
public void assumeLatin1OnInvalidUtf8()
throws Exception
Exceptionpublic void testFallbackDetectorIsUsed()
throws Exception
Exceptionpublic void doNotAssumeLatin1OnInvalidUtf8()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.