public abstract class ParserUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.io.Reader |
getInputReader(java.io.InputStream input,
java.nio.charset.Charset cs)
Returns a reader based upon the character set (encoding).
|
public static java.io.Reader getInputReader(java.io.InputStream input, java.nio.charset.Charset cs) throws java.io.IOException
input
- content to parsecs
- character set (encoding) used by contentjava.io.IOException
- if specified encoding cannot be used