Class FileDescriptionImpl<T>
java.lang.Object
org.aksw.shellgebra.exec.graph.FileDescriptionImpl<T>
- All Implemented Interfaces:
AutoCloseable, FileDescription<T>
-
Constructor Details
-
FileDescriptionImpl
-
-
Method Details
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceFileDescription<T>
-
get
- Specified by:
getin interfaceFileDescription<T>
-
getRaw
Description copied from interface:FileDescriptionGet the raw reference to the resource that may be closed.- Specified by:
getRawin interfaceFileDescription<T>
-
dup
Duplicate the file description. Will try to acquire the underlying resource. The resulting FileDescription may be "born dead" if the resource is already closed. Check the state withFileDescription.isOpen().- Specified by:
dupin interfaceFileDescription<T>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceFileDescription<T>
-