public class StreamUtil
extends java.lang.Object
| Constructor and Description |
|---|
StreamUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getEncoding(java.io.InputStream stream)
Determines the encoding in the passed html document stream by peeking into the
<meta> tags or the xml declaration if it's an xhtml document |
public static java.lang.String getEncoding(java.io.InputStream stream)
throws java.io.IOException
<meta> tags or the xml declaration if it's an xhtml documentstream - The InputStream of the HTML document being importedjava.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved