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
stream
- The InputStream of the HTML document being importedjava.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"