public interface Reader<T>
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes all underlying I/O-objects.
|
ContentType |
getContentType() |
void |
init(Location location,
Options options) |
T |
next() |
void init(Location location, Options options) throws java.io.IOException, UnsupportedLocationException
java.io.IOException
UnsupportedLocationException
T next() throws java.io.IOException, UnsupportedFormatException
java.io.IOException
UnsupportedFormatException
void close() throws java.io.IOException
next()
should throw IOException
.close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException
ContentType getContentType()