Package net.anwiba.commons.utilities.io
Interface IClosableConnector
-
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
public interface IClosableConnector extends java.io.Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidabort()default voidclose()java.io.InputStreamconnect()
-
-
-
Method Detail
-
connect
java.io.InputStream connect() throws java.io.IOException- Throws:
java.io.IOException
-
abort
default void abort() throws java.io.IOException- Throws:
java.io.IOException
-
close
default void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-