Module jcifs

Class FileRenameInformation2

java.lang.Object
org.codelibs.jcifs.smb.internal.fscc.FileRenameInformation2
All Implemented Interfaces:
Decodable, Encodable, FileInformation

public class FileRenameInformation2 extends Object implements FileInformation
File System Control Code (FSCC) structure for File Rename Information. Used in SMB2/SMB3 set file information operations to rename files or directories, with support for specifying whether to replace existing files with the same name.
Author:
mbechler
  • Constructor Details

    • FileRenameInformation2

      public FileRenameInformation2()
      Default constructor for decoding.
    • FileRenameInformation2

      public FileRenameInformation2(String name, boolean replaceIfExists)
      Constructs file rename information.
      Parameters:
      name - the new file name
      replaceIfExists - whether to replace if the target file exists
  • Method Details