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 FileTime
changeTime
private FileTime
creationTime
static 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.static 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.private long
fileAttributes
private FileTime
lastAccessTime
private FileTime
lastWriteTime
-
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 FileTime
getChangeTime()
FileTime
getCreationTime()
long
getFileAttributes()
FileTime
getLastAccessTime()
FileTime
getLastWriteTime()
-
-
-
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
-
-