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 void
close()
void
close(long lastWriteTime)
long
getInitialSize()
SmbTreeHandle
getTree()
boolean
isValid()
void
release()
-
-
-
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:
close
in 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
-
-