- All Known Implementing Classes:
FileBothDirectoryInfo,SmbShareInfo
public interface FileEntry
Interface representing a file entry in an SMB directory listing.
Provides access to file metadata and attributes.
-
Method Summary
-
Method Details
-
getName
String getName()Gets the file name.- Returns:
- the file name
-
getType
int getType()Gets the file type.- Returns:
- the file type
-
getAttributes
int getAttributes()Gets the file attributes.- Returns:
- the file attributes
-
createTime
long createTime()Gets the file 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
-
lastAccess
long lastAccess()Gets the last access time.- Returns:
- the last access time in milliseconds since epoch
-
length
long length()Gets the file size.- Returns:
- the file size in bytes
-
getFileIndex
int getFileIndex()Gets the file index.- Returns:
- the file index inside the parent directory
-