Package org.xwiki.filter.input
Interface InputSource
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Subinterfaces:
FileInputSource
,InputStreamInputSource
,ReaderInputSource
,URLInputSource
- All Known Implementing Classes:
AbstractInputStreamInputSource
,AbstractReaderInputSource
,DefaultByteArrayInputSource
,DefaultFileInputSource
,DefaultInputStreamInputSource
,DefaultReaderInputSource
,DefaultURLInputSource
,DirectoryInputSource
,StringInputSource
public interface InputSource extends Closeable
Represent a source of data used by a filter input stream. What kind ofInputSource
is supported by each input stream is entirely input stream choice.Closeable.close()
is only closingCloseable
created by theInputSource
itself. For exampleDefaultInputStreamInputSource
is not going to close theInputStream
passed to its constructor because it did not created it.- Since:
- 6.2M1
- Version:
- $Id: d4fc0a3d47322276534d8f5373fa6a15ad9b81bc $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
restartSupported()
-