Package org.apache.commons.io.input
Class AbstractInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.io.input.AbstractInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- Direct Known Subclasses:
- CircularInputStream,- MemoryMappedFileInputStream,- NullInputStream,- RandomAccessFileInputStream,- ReaderInputStream
Abstracts some InputStream operations for implementations in this package.
- Since:
- 2.17.0
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.io.InputStreamavailable, mark, markSupported, read, read, read, reset, skip
- 
Constructor Details- 
AbstractInputStreampublic AbstractInputStream()Constructs a new instance for subclasses.
 
- 
- 
Method Details- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
- 
isClosedTests whether this instance is closed; ifclose()completed successfully.- Returns:
- whether this instance is closed.
 
- 
setClosedSets whether this instance is closed.- Parameters:
- closed- whether this instance is closed.
 
 
-