use of org.eclipse.wst.xml.core.internal.encoding.XMLDocumentCharsetDetector in project webtools.sourceediting by eclipse.
the class DTDDocumentCharsetDetector method parseInput.
/**
*/
protected void parseInput() throws IOException {
IDocumentCharsetDetector documentEncodingDetector = new XMLDocumentCharsetDetector();
documentEncodingDetector.set(fReader);
fEncodingMemento = ((XMLResourceEncodingDetector) documentEncodingDetector).getEncodingMemento();
}
Aggregations