Module jcifs

Interface SmbBasicFileInfo

All Known Subinterfaces:
BasicFileInformation
All Known Implementing Classes:
FileBasicInfo, FileStandardInfo, Smb2CloseResponse, Smb2CreateResponse, SmbComNTCreateAndXResponse, SmbComOpenAndXResponse, SmbComQueryInformationResponse

public interface SmbBasicFileInfo
Interface for basic SMB file information. Provides access to fundamental file metadata including attributes, timestamps, and file size information retrieved from SMB file system operations.
Author:
mbechler
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the file attributes.
    long
    Gets the file creation time.
    long
    Gets the file last access time.
    long
    Gets the file last write time.
    long
    Gets the file size in bytes.
  • Method Details

    • getAttributes

      int getAttributes()
      Gets the file attributes.
      Returns:
      file attributes
    • getCreateTime

      long getCreateTime()
      Gets the file creation time.
      Returns:
      file create time
    • getLastWriteTime

      long getLastWriteTime()
      Gets the file last write time.
      Returns:
      file last write time
    • getLastAccessTime

      long getLastAccessTime()
      Gets the file last access time.
      Returns:
      file last access time
    • getSize

      long getSize()
      Gets the file size in bytes.
      Returns:
      file size