Class FileBasicInformation

java.lang.Object
com.hierynomus.msfscc.fileinformation.FileBasicInformation
All Implemented Interfaces:
FileInformation, FileQueryableInformation, FileSettableInformation

public class FileBasicInformation extends Object implements FileQueryableInformation, FileSettableInformation
  • Field Details

    • DONT_SET

      public static final FileTime DONT_SET
      When setting file attributes, set a time field to this value to indicate to the server that it MUST NOT change the field.
    • DONT_UPDATE

      public static final FileTime DONT_UPDATE
      When setting file attributes, set a time field to this value to indicate to the server that it MUST NOT change the field for all subsequent operations on the same file handle.
    • creationTime

      private final FileTime creationTime
    • lastAccessTime

      private final FileTime lastAccessTime
    • lastWriteTime

      private final FileTime lastWriteTime
    • changeTime

      private final FileTime changeTime
    • fileAttributes

      private long fileAttributes
  • Constructor Details

    • FileBasicInformation

      public FileBasicInformation(FileTime creationTime, FileTime lastAccessTime, FileTime lastWriteTime, FileTime changeTime, long fileAttributes)
  • Method Details

    • getCreationTime

      public FileTime getCreationTime()
    • getLastAccessTime

      public FileTime getLastAccessTime()
    • getLastWriteTime

      public FileTime getLastWriteTime()
    • getChangeTime

      public FileTime getChangeTime()
    • getFileAttributes

      public long getFileAttributes()