public class DelegatingReader<T> extends AbstractReader<T>
| Constructor and Description |
|---|
DelegatingReader() |
DelegatingReader(Reader<T> reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader and all resources associated with it.
|
protected void |
doClose() |
Map<String,Object> |
getProperties() |
<C> C |
getProperty(String name) |
Reader<T> |
getReader() |
Iterator<T> |
iterator()
Return a new iterator for type T at the first item to read.
|
void |
open()
Open the reader so that it is ready to be read from.
|
void |
setProperty(String name,
Object value) |
void |
setReader(Reader<T> reader) |
read, visitclearProperties, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getProperty, removeProperty, setProperties, setPropertySoft, setPropertyWeakpublic final void close()
Readerclose in interface Reader<T>close in interface AutoCloseableclose in class AbstractObjectWithPropertiesprotected void doClose()
public Map<String,Object> getProperties()
getProperties in interface ObjectWithPropertiesgetProperties in class AbstractObjectWithPropertiespublic <C> C getProperty(String name)
getProperty in interface ObjectWithPropertiesgetProperty in class AbstractObjectWithPropertiespublic Iterator<T> iterator()
Readerpublic void open()
Readerpublic void setProperty(String name, Object value)
setProperty in interface ObjectWithPropertiessetProperty in class AbstractObjectWithPropertiesCopyright © 2015 Revolution Systems Inc.. All rights reserved.