use of org.eclipse.wst.css.core.internal.contenttype.CSSResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class CSSEncodingTester method testUTF16BOM.
public void testUTF16BOM() throws IOException {
String filename = fileLocation + "utf16BOM.css";
doTestFileStream(filename, "UTF-16", new CSSResourceEncodingDetector());
}
use of org.eclipse.wst.css.core.internal.contenttype.CSSResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class CSSEncodingTester method testUTF16le.
public void testUTF16le() throws IOException {
String filename = fileLocation + "utf16le.css";
doTestFileStream(filename, "UTF-16LE", new CSSResourceEncodingDetector());
}
use of org.eclipse.wst.css.core.internal.contenttype.CSSResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class CSSEncodingTester method testEmptyFile.
public void testEmptyFile() throws IOException {
String filename = fileLocation + "emptyFile.css";
doTestFileStream(filename, null, new CSSResourceEncodingDetector());
}
use of org.eclipse.wst.css.core.internal.contenttype.CSSResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class CSSEncodingTester method testUTF16beMalformed.
public void testUTF16beMalformed() throws IOException {
String filename = fileLocation + "utf16beMalformed.css";
doTestFileStream(filename, "UTF-16BE", new CSSResourceEncodingDetector());
}
Aggregations