public class StreamUtil extends Object
Constructor and Description |
---|
StreamUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getEncoding(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 String getEncoding(InputStream stream) throws IOException
stream
- The InputStream of the HTML document being importedIOException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"