| java.lang.Object |
| ↳ |
com.google.gdata.wireformats.ParserUtils |
Class Overview
Utility functions shared across parser implementations.
Summary
| Public Methods |
|
static
Reader
|
getInputReader(InputStream input, Charset cs)
Returns a reader based upon the character set (encoding).
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Methods
public
static
Reader
getInputReader
(InputStream input, Charset cs)
Returns a reader based upon the character set (encoding).
Use the special UnicodeReader class for Unicode encodings, to work
around a JDK bug related to Unicode byte order markings.
Parameters
| input
| Content to parse |
| cs
| Character set (encoding) used by content |
Throws
| IOException
| if specified encoding cannot be used
|