Package org.apache.commons.io.input
Class Input
java.lang.Object
org.apache.commons.io.input.Input
Package-wide internals for input.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidcheckOpen(boolean isOpen) Throws anIOExceptionon false input.(package private) static InterruptedIOExceptionConverts anInterruptedExceptionto anInterruptedIOException.
-
Constructor Details
-
Input
Input()
-
-
Method Details
-
checkOpen
Throws anIOExceptionon false input.- Parameters:
isOpen- whether an input is open or not.- Throws:
IOException- ifisOpenis false indicating an input is closed.
-
toInterruptedIOException
Converts anInterruptedExceptionto anInterruptedIOException.The cause of the returned InterruptedIOException is set to the original.
- Parameters:
e- The InterruptedException to convert.- Returns:
- The converted InterruptedIOException.
- See Also:
-