org.apache.commons.feedparser.tools
Class XMLEncodingParser
java.lang.Object
org.apache.commons.feedparser.tools.XMLEncodingParser
public class XMLEncodingParser
- extends Object
Given an XML document pull out the encoding or the default (UTF-8) if not
specified.
- Author:
- Kevin A. Burton
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
XMLEncodingParser
public XMLEncodingParser()
parse
public static String parse(byte[] content)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.