jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Classes | Public Member Functions | Public Attributes | List of all members
org.jau.fs.CopyOptions Class Reference

Filesystem copy options used to copy() path elements. More...

Collaboration diagram for org.jau.fs.CopyOptions:

Classes

enum  Bit
 

Public Member Functions

 CopyOptions (final short v)
 
 CopyOptions ()
 
boolean isSet (final Bit bit)
 
CopyOptions set (final Bit bit)
 Sets the given bit and returns this instance for chaining. More...
 
String toString ()
 
boolean equals (final Object other)
 

Public Attributes

short mask
 

Detailed Description

Filesystem copy options used to copy() path elements.

By default, the fmode_t POSIX protection mode bits are preserved while using the caller's uid and gid as well as current timestamps.
Use CopyOptions.Bit#preserve_all to preserve uid and gid if allowed from the caller and access- and modification-timestamps.

See also
FileUtil::copy(String, String, CopyOptions)

Definition at line 35 of file CopyOptions.java.

Constructor & Destructor Documentation

◆ CopyOptions() [1/2]

org.jau.fs.CopyOptions.CopyOptions ( final short  v)

Definition at line 81 of file CopyOptions.java.

◆ CopyOptions() [2/2]

org.jau.fs.CopyOptions.CopyOptions ( )

Definition at line 84 of file CopyOptions.java.

Here is the caller graph for this function:

Member Function Documentation

◆ equals()

boolean org.jau.fs.CopyOptions.equals ( final Object  other)

Definition at line 114 of file CopyOptions.java.

Here is the call graph for this function:

◆ isSet()

boolean org.jau.fs.CopyOptions.isSet ( final Bit  bit)

Definition at line 88 of file CopyOptions.java.

Here is the caller graph for this function:

◆ set()

CopyOptions org.jau.fs.CopyOptions.set ( final Bit  bit)

Sets the given bit and returns this instance for chaining.

Parameters
bitthe given Bit value to set
Returns
this instance for chaining.

Definition at line 95 of file CopyOptions.java.

Here is the caller graph for this function:

◆ toString()

String org.jau.fs.CopyOptions.toString ( )

Definition at line 98 of file CopyOptions.java.

Here is the call graph for this function:

Member Data Documentation

◆ mask

short org.jau.fs.CopyOptions.mask

Definition at line 79 of file CopyOptions.java.


The documentation for this class was generated from the following file: