|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kxml2.io.KXmlParser
org.gvsig.remoteclient.utils.EncodingXMLParser
public class EncodingXMLParser
This class is a XML pull parser that discover and manage the file encoding
| Field Summary |
|---|
| Fields inherited from interface org.xmlpull.v1.XmlPullParser |
|---|
CDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, FEATURE_PROCESS_DOCDECL, FEATURE_PROCESS_NAMESPACES, FEATURE_REPORT_NAMESPACE_ATTRIBUTES, FEATURE_VALIDATION, IGNORABLE_WHITESPACE, NO_NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_TAG, TEXT, TYPES |
| Constructor Summary | |
|---|---|
EncodingXMLParser()
|
|
| Method Summary | |
|---|---|
void |
setInput(java.io.File file)
This method reads the first bytes of the file and try to discover the file encoding. |
| Methods inherited from class org.kxml2.io.KXmlParser |
|---|
defineEntityReplacementText, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getColumnNumber, getDepth, getEventType, getFeature, getInputEncoding, getLineNumber, getName, getNamespace, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getPositionDescription, getPrefix, getProperty, getText, getTextCharacters, isAttributeDefault, isEmptyElementTag, isWhitespace, next, nextTag, nextText, nextToken, require, setFeature, setInput, setInput, setProperty, skipSubTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncodingXMLParser()
| Method Detail |
|---|
public void setInput(java.io.File file)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
file -
org.xmlpull.v1.XmlPullParserException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||