Package jcifs
Interface SmbFileHandle
-
- All Superinterfaces:
AutoCloseable
public interface SmbFileHandle extends AutoCloseable
Handle to an open file- Author:
- mbechler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidclose(long lastWriteTime)longgetInitialSize()SmbTreeHandlegetTree()booleanisValid()voidrelease()
-
-
-
Method Detail
-
getTree
SmbTreeHandle getTree()
- Returns:
- the tree
-
isValid
boolean isValid()
- Returns:
- whether the file descriptor is valid
-
close
void close(long lastWriteTime) throws CIFSException- Parameters:
lastWriteTime-- Throws:
CIFSException
-
close
void close() throws CIFSException- Specified by:
closein interfaceAutoCloseable- Throws:
CIFSException- See Also:
AutoCloseable.close()
-
release
void release() throws CIFSException- Throws:
CIFSException
-
getInitialSize
long getInitialSize()
- Returns:
- the file size when it was opened
-
-