use of org.eclipse.wst.css.core.internal.contenttype.CSSResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class CSSEncodingTester method testNoEncoding.
public void testNoEncoding() throws IOException {
String filename = fileLocation + "noEncoding.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 testnonStandardIllFormed.
public void testnonStandardIllFormed() throws IOException {
String filename = fileLocation + "nonStandardIllFormed.css";
doTestFileStream(filename, "ISO-8859-6", new CSSResourceEncodingDetector());
}
use of org.eclipse.wst.css.core.internal.contenttype.CSSResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class CSSEncodingTester method testUTF16be.
public void testUTF16be() throws IOException {
String filename = fileLocation + "utf16be.css";
doTestFileStream(filename, "UTF-16BE", new CSSResourceEncodingDetector());
}
use of org.eclipse.wst.css.core.internal.contenttype.CSSResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class CSSEncodingTester method testBestCase.
public void testBestCase() throws IOException {
String filename = fileLocation + "nonStandard.css";
doTestFileStream(filename, "ISO-8859-6", new CSSResourceEncodingDetector());
}
use of org.eclipse.wst.css.core.internal.contenttype.CSSResourceEncodingDetector in project webtools.sourceediting by eclipse.
the class CSSEncodingTester method testShiftJIS.
public void testShiftJIS() throws IOException {
String filename = fileLocation + "encoding_test_sjis.css";
doTestFileStream(filename, "SHIFT_JIS", new CSSResourceEncodingDetector());
}
Aggregations