public class ParseUtil
extends java.lang.Object
Constructor and Description |
---|
ParseUtil() |
Modifier and Type | Method and Description |
---|---|
static IEntry |
readEntry(ParseSource source)
Reads an entry from a parse source.
|
static <T extends IEntry> |
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 <F extends IFeed> |
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.
|
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