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 DecodableSMBProtocolDecodingExceptionDecodable.decode(byte[], int, int)public int encode(byte[] dst,
int dstIndex)
encode in interface EncodableEncodable.encode(byte[], int)public int size()
size in interface EncodableEncodable.size()public byte getFileInformationLevel()
getFileInformationLevel in interface FileInformationFileInformation.getFileInformationLevel()Copyright © 2021. All rights reserved.