Interface Closeable
- 
- All Known Implementing Classes:
- LimitedInputStream,- MultipartStream.ItemInputStream
 
 public interface CloseableInterface of an object, which may be closed.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the object.booleanisClosed()Returns, whether the object is already closed.
 
- 
- 
- 
Method Detail- 
closevoid close() throws java.io.IOExceptionCloses the object.- Throws:
- java.io.IOException- An I/O error occurred.
 
 - 
isClosedboolean isClosed() throws java.io.IOExceptionReturns, whether the object is already closed.- Returns:
- True, if the object is closed, otherwise false.
- Throws:
- java.io.IOException- An I/O error occurred.
 
 
- 
 
-