Class FileBasicInformation
- java.lang.Object
-
- com.hierynomus.msfscc.fileinformation.FileBasicInformation
-
- All Implemented Interfaces:
FileInformation,FileQueryableInformation,FileSettableInformation
public class FileBasicInformation extends java.lang.Object implements FileQueryableInformation, FileSettableInformation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.hierynomus.msfscc.fileinformation.FileInformation
FileInformation.Codec<F extends FileInformation>, FileInformation.Decoder<F extends FileInformation>, FileInformation.Encoder<F extends FileInformation>
-
-
Field Summary
Fields Modifier and Type Field Description private FileTimechangeTimeprivate FileTimecreationTimestatic FileTimeDONT_SETWhen setting file attributes, set a time field to this value to indicate to the server that it MUST NOT change the field.static FileTimeDONT_UPDATEWhen 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.private longfileAttributesprivate FileTimelastAccessTimeprivate FileTimelastWriteTime
-
Constructor Summary
Constructors Constructor Description FileBasicInformation(FileTime creationTime, FileTime lastAccessTime, FileTime lastWriteTime, FileTime changeTime, long fileAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileTimegetChangeTime()FileTimegetCreationTime()longgetFileAttributes()FileTimegetLastAccessTime()FileTimegetLastWriteTime()
-
-
-
Field Detail
-
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
-
-