|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xpn.xwiki.plugin.lucene.textextraction.xmlutil.XmlEncodingDetector
public class XmlEncodingDetector
Utility code to detect the encoding of XML provided as a byte array. This code is based on the class com.sun.syndication.io.XmlReader from the Rome project (https://rome.dev.java.net/), which is licensed under the Apache V2 license (and doesn't include a NOTICE file).
| Constructor Summary | |
|---|---|
XmlEncodingDetector()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
detectEncoding(byte[] data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlEncodingDetector()
| Method Detail |
|---|
public static java.lang.String detectEncoding(byte[] data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||