- All Known Implementing Classes:
SmbShareInfo
public interface FileEntry
Represents a file or directory entry in SMB1 protocol.
-
Method Details
-
getName
String getName()Gets the name of the file or directory.- Returns:
- the file or directory name
-
getType
int getType()Gets the type of the entry.- Returns:
- the entry type
-
getAttributes
int getAttributes()Gets the file attributes.- Returns:
- the file attributes
-
createTime
long createTime()Gets the creation time.- Returns:
- the creation time in milliseconds since epoch
-
lastModified
long lastModified()Gets the last modified time.- Returns:
- the last modified time in milliseconds since epoch
-
length
long length()Gets the file size.- Returns:
- the file size in bytes
-