public class ParseSource extends Object
| Constructor and Description |
|---|
ParseSource(InputStream inputStream)
Constructs a new GData input source using data from an
InputStream. |
ParseSource(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. |
| Modifier and Type | Method and Description |
|---|---|
XmlEventSource |
getEventSource()
Returns the
Reader associated with the input source or
null if associated with a different source type. |
InputStream |
getInputStream()
Returns the
Reader associated with the input source or
null if associated with a different source type. |
Reader |
getReader()
Returns the
Reader associated with the input source or
null if associated with a different source type. |
public ParseSource(Reader reader)
Reader.public ParseSource(InputStream inputStream)
InputStream.public ParseSource(XmlEventSource eventSource)
XmlParser.public final Reader getReader()
Reader associated with the input source or
null if associated with a different source type.public final 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.Copyright © 2012. All Rights Reserved.