public class FileRenameInformation2 extends Object implements FileInformation
FILE_BASIC_INFO, FILE_ENDOFFILE_INFO, FILE_INTERNAL_INFO, FILE_RENAME_INFO, FILE_STANDARD_INFO
Constructor and Description |
---|
FileRenameInformation2() |
FileRenameInformation2(String name,
boolean replaceIfExists) |
Modifier and Type | Method and Description |
---|---|
int |
decode(byte[] buffer,
int bufferIndex,
int len) |
int |
encode(byte[] dst,
int dstIndex) |
byte |
getFileInformationLevel() |
int |
size() |
public FileRenameInformation2()
public FileRenameInformation2(String name, boolean replaceIfExists)
name
- replaceIfExists
- public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException
decode
in interface Decodable
SMBProtocolDecodingException
Decodable.decode(byte[], int, int)
public int encode(byte[] dst, int dstIndex)
encode
in interface Encodable
Encodable.encode(byte[], int)
public int size()
size
in interface Encodable
Encodable.size()
public byte getFileInformationLevel()
getFileInformationLevel
in interface FileInformation
FileInformation.getFileInformationLevel()
Copyright © 2019. All rights reserved.