
public class XDIJSONQuadReader extends AbstractXDIReader
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_EXTENSION |
static String |
FORMAT_NAME |
static MimeType |
MIME_TYPE |
DEFAULT_CHARSET, parameters| Constructor and Description |
|---|
XDIJSONQuadReader(Properties parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init() |
void |
read(ContextNode contextNode,
com.google.gson.JsonObject jsonGraphObject,
xdi2.core.io.readers.XDIJSONQuadReader.State state) |
Reader |
read(Graph graph,
Reader reader)
Reads an XDI graph from a character stream.
|
getFileExtension, getFormat, getMimeType, read, supportsFileExtension, supportsFormat, supportsMimeTypepublic static final String FORMAT_NAME
public static final String FILE_EXTENSION
public static final MimeType MIME_TYPE
public XDIJSONQuadReader(Properties parameters)
protected void init()
init in class AbstractXDIReaderpublic void read(ContextNode contextNode, com.google.gson.JsonObject jsonGraphObject, xdi2.core.io.readers.XDIJSONQuadReader.State state) throws IOException, Xdi2ParseException
IOExceptionXdi2ParseExceptionpublic Reader read(Graph graph, Reader reader) throws IOException, Xdi2ParseException
XDIReadergraph - A graph that will hold the read data.reader - A character stream from which to read.IOExceptionXdi2ParseExceptionCopyright © 2017. All rights reserved.