org.openrdf.server.metadata.readers
Class AggregateReader
java.lang.Object
org.openrdf.server.metadata.readers.AggregateReader
- All Implemented Interfaces:
- MessageBodyReader<Object>
public class AggregateReader
- extends Object
- implements MessageBodyReader<Object>
Delegates to other MessageBodyReader.
- Author:
- James Leigh
|
Method Summary |
boolean |
isReadable(Class<?> type,
Type genericType,
String mimeType,
ObjectConnection con)
|
Object |
readFrom(Class<? extends Object> type,
Type genericType,
String mimeType,
InputStream in,
Charset charset,
String base,
String location,
ObjectConnection con)
Must close InputStream or return an object that will later close the
InputStream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregateReader
public AggregateReader()
isReadable
public boolean isReadable(Class<?> type,
Type genericType,
String mimeType,
ObjectConnection con)
- Specified by:
isReadable in interface MessageBodyReader<Object>
readFrom
public Object readFrom(Class<? extends Object> type,
Type genericType,
String mimeType,
InputStream in,
Charset charset,
String base,
String location,
ObjectConnection con)
throws QueryResultParseException,
TupleQueryResultHandlerException,
QueryEvaluationException,
IOException,
RepositoryException
- 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
QueryEvaluationException
IOException
RepositoryException
Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.