org.openrdf.http.object.readers.base
Class URIListReader<URI>
java.lang.Object
org.openrdf.http.object.readers.base.URIListReader<URI>
- All Implemented Interfaces:
- MessageBodyReader<Object>
- Direct Known Subclasses:
- NetURIReader, RDFObjectURIReader, StringURIReader, URIReader, URLReader
public abstract class URIListReader<URI>
- extends Object
- implements MessageBodyReader<Object>
Parses text/uri-list messages.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URIListReader
public URIListReader(Class<URI> componentType)
isReadable
public boolean isReadable(MessageType mtype)
- Specified by:
isReadable in interface MessageBodyReader<Object>
readFrom
public Object readFrom(MessageType mtype,
ReadableByteChannel in,
Charset charset,
String base,
String location)
throws QueryResultParseException,
TupleQueryResultHandlerException,
IOException,
QueryEvaluationException,
RepositoryException,
URISyntaxException
- Description copied from interface:
MessageBodyReader
- Must close InputStream or return an object that will later close the
InputStream.
- Specified by:
readFrom in interface MessageBodyReader<Object>
- Throws:
QueryResultParseException
TupleQueryResultHandlerException
IOException
QueryEvaluationException
RepositoryException
URISyntaxException
create
protected abstract URI create(ObjectConnection con,
String uri)
throws MalformedURLException,
RepositoryException
- Throws:
MalformedURLException
RepositoryException
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.