public class XMLEncodingDetector
extends java.lang.Object
| Constructor and Description |
|---|
XMLEncodingDetector() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object[] |
getEncoding(java.lang.String fname,
java.util.jar.JarFile jarFile,
JspCompilationContext ctxt,
ErrorDispatcher err)
Autodetects the encoding of the XML document supplied by the given
input stream.
|
java.lang.Object[] |
getEncodingMethod(java.lang.String fname,
java.util.jar.JarFile jarFile,
JspCompilationContext ctxt,
ErrorDispatcher err) |
public static java.lang.Object[] getEncoding(java.lang.String fname,
java.util.jar.JarFile jarFile,
JspCompilationContext ctxt,
ErrorDispatcher err)
throws java.io.IOException,
JasperException
err - The error dispatcherjava.io.IOExceptionJasperExceptionpublic java.lang.Object[] getEncodingMethod(java.lang.String fname,
java.util.jar.JarFile jarFile,
JspCompilationContext ctxt,
ErrorDispatcher err)
throws java.io.IOException,
JasperException
java.io.IOExceptionJasperExceptionCopyright ? 2000 Apache Software Foundation. All Rights Reserved.