Definition of an interface to be implemented by objects which support reading from an input stream.
When reading data using a {@link FileHandler} per default a reader is used asdefined by the {@link FileBased#read(java.io.Reader)} method. For someconfiguration formats it is necessary to directly read binary data. In order to achieve this, a {@link FileBased} object can also implement thisinterface. It defines an additional {@code read()} method expecting an{@code InputStream} as argument. If the {@code FileHandler} detects that itsassociated {@code FileBased} object implements this interface, it passes theinput stream directly rather than transforming it to a reader.
@version $Id: InputStreamSupport.java 1624601 2014-09-12 18:04:36Z oheger $ @since 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|