Search in sources :

Example 11 with HTMLResourceEncodingDetector

use of org.eclipse.wst.html.core.internal.contenttype.HTMLResourceEncodingDetector in project webtools.sourceediting by eclipse.

the class HTMLEncodingTests method testUTF16LE.

public void testUTF16LE() throws IOException {
    String filename = fileLocation + "utf16le.html";
    doTestFileStream(filename, "UTF-16LE", new HTMLResourceEncodingDetector());
}
Also used : HTMLResourceEncodingDetector(org.eclipse.wst.html.core.internal.contenttype.HTMLResourceEncodingDetector)

Aggregations

HTMLResourceEncodingDetector (org.eclipse.wst.html.core.internal.contenttype.HTMLResourceEncodingDetector)11 BufferedInputStream (java.io.BufferedInputStream)1 File (java.io.File)1 FileInputStream (java.io.FileInputStream)1 InputStream (java.io.InputStream)1 EncodingMemento (org.eclipse.wst.sse.core.internal.encoding.EncodingMemento)1