|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.ParseSource
public class ParseSource
The ParseSource class represents a data input source that can be used to read parseable GData content.
Constructor Summary | |
---|---|
ParseSource(java.io.InputStream inputStream)
Constructs a new GData input source using data from an InputStream . |
|
ParseSource(java.io.Reader reader)
Constructs a new GData input source using data from a Reader . |
|
ParseSource(XmlEventSource eventSource)
Constructs a new GData input source using data from an XmlParser . |
Method Summary | |
---|---|
XmlEventSource |
getEventSource()
Returns the Reader associated with the input source or
null if associated with a different source type. |
java.io.InputStream |
getInputStream()
Returns the Reader associated with the input source or
null if associated with a different source type. |
java.io.Reader |
getReader()
Returns the Reader associated with the input source or
null if associated with a different source type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParseSource(java.io.Reader reader)
Reader
.
public ParseSource(java.io.InputStream inputStream)
InputStream
.
public ParseSource(XmlEventSource eventSource)
XmlParser
.
Method Detail |
---|
public final java.io.Reader getReader()
Reader
associated with the input source or
null
if associated with a different source type.
public final java.io.InputStream getInputStream()
Reader
associated with the input source or
null
if associated with a different source type.
public final XmlEventSource getEventSource()
Reader
associated with the input source or
null
if associated with a different source type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |