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 ofInputSourceis supported by each input stream is entirely input stream choice.Closeable.close()is only closingCloseablecreated by theInputSourceitself. For exampleDefaultInputStreamInputSourceis not going to close theInputStreampassed 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 booleanrestartSupported()
-