public class FileBasicInfo extends Object implements BasicFileInformation
FILE_BASIC_INFO, FILE_ENDOFFILE_INFO, FILE_INTERNAL_INFO, FILE_RENAME_INFO, FILE_STANDARD_INFO| Constructor and Description |
|---|
FileBasicInfo() |
FileBasicInfo(long create,
long lastAccess,
long lastWrite,
long change,
int attributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(byte[] buffer,
int bufferIndex,
int len) |
int |
encode(byte[] dst,
int dstIndex) |
int |
getAttributes() |
long |
getCreateTime() |
byte |
getFileInformationLevel() |
long |
getLastAccessTime() |
long |
getLastWriteTime() |
long |
getSize() |
int |
size() |
String |
toString() |
public FileBasicInfo()
public FileBasicInfo(long create,
long lastAccess,
long lastWrite,
long change,
int attributes)
create - lastAccess - lastWrite - change - attributes - public byte getFileInformationLevel()
getFileInformationLevel in interface FileInformationFileInformation.getFileInformationLevel()public int getAttributes()
getAttributes in interface SmbBasicFileInfopublic long getCreateTime()
getCreateTime in interface SmbBasicFileInfopublic long getLastWriteTime()
getLastWriteTime in interface SmbBasicFileInfopublic long getLastAccessTime()
getLastAccessTime in interface SmbBasicFileInfopublic long getSize()
getSize in interface SmbBasicFileInfopublic int decode(byte[] buffer,
int bufferIndex,
int len)
throws SMBProtocolDecodingException
decode in interface DecodableSMBProtocolDecodingExceptionDecodable.decode(byte[], int, int)public int size()
size in interface EncodableEncodable.size()public int encode(byte[] dst,
int dstIndex)
encode in interface EncodableEncodable.encode(byte[], int)Copyright © 2018. All rights reserved.