|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.util.ParseUtil
public class ParseUtil
Helper class with static parse methods to parse entries and feeds based on the old or new data model as appropriate.
Constructor Summary | |
---|---|
ParseUtil()
|
Method Summary | ||
---|---|---|
static IEntry |
readEntry(ParseSource source)
Reads an entry from a parse source. |
|
static
|
readEntry(ParseSource source,
java.lang.Class<T> requestedClass,
ExtensionProfile extProfile,
Schema schema)
Reads an entry from a parse source, returning an instance of the requested class, and using the given extension profile if parsing into the old data model. |
|
static IFeed |
readFeed(ParseSource source)
Reads a feed from a parse source. |
|
static
|
readFeed(ParseSource source,
java.lang.Class<F> requestedClass,
ExtensionProfile extProfile,
Schema schema)
This method provides the base implementation of feed reading using either static or dynamic typing. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParseUtil()
Method Detail |
---|
public static IEntry readEntry(ParseSource source) throws java.io.IOException, ParseException, ServiceException
java.io.IOException
ParseException
ServiceException
public static <T extends IEntry> T readEntry(ParseSource source, java.lang.Class<T> requestedClass, ExtensionProfile extProfile, Schema schema) throws java.io.IOException, ParseException, ServiceException
java.io.IOException
ParseException
ServiceException
public static IFeed readFeed(ParseSource source) throws java.io.IOException, ParseException, ServiceException
java.io.IOException
ParseException
ServiceException
public static <F extends IFeed> F readFeed(ParseSource source, java.lang.Class<F> requestedClass, ExtensionProfile extProfile, Schema schema) throws java.io.IOException, ParseException, ServiceException
java.io.IOException
ParseException
ServiceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |