@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:43.721Z") @Stability(value=Experimental) public class FileSystem extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
|
FileSystem() |
protected |
FileSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
FileSystem(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyDirectory(String srcDir,
String destDir)
(experimental) Copies an entire directory structure.
|
static void |
copyDirectory(String srcDir,
String destDir,
CopyOptions options)
(experimental) Copies an entire directory structure.
|
static void |
copyDirectory(String srcDir,
String destDir,
CopyOptions options,
String rootDir)
(experimental) Copies an entire directory structure.
|
static String |
fingerprint(String fileOrDirectory)
(experimental) Produces fingerprint based on the contents of a single file or an entire directory tree.
|
static String |
fingerprint(String fileOrDirectory,
FingerprintOptions options)
(experimental) Produces fingerprint based on the contents of a single file or an entire directory tree.
|
static String |
getTmpdir()
(experimental) The real path of the system temp directory.
|
static Boolean |
isEmpty(String dir)
(experimental) Checks whether a directory is empty.
|
static String |
mkdtemp(String prefix)
(experimental) Creates a unique temporary directory in the **system temp directory**.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected FileSystem(software.amazon.jsii.JsiiObjectRef objRef)
protected FileSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public FileSystem()
@Stability(value=Experimental)
public static void copyDirectory(@NotNull
String srcDir,
@NotNull
String destDir,
@Nullable
CopyOptions options,
@Nullable
String rootDir)
srcDir - Source directory. This parameter is required.destDir - Destination directory. This parameter is required.options - options.rootDir - Root directory to calculate exclusions from.@Stability(value=Experimental)
public static void copyDirectory(@NotNull
String srcDir,
@NotNull
String destDir,
@Nullable
CopyOptions options)
srcDir - Source directory. This parameter is required.destDir - Destination directory. This parameter is required.options - options.@Stability(value=Experimental)
public static void copyDirectory(@NotNull
String srcDir,
@NotNull
String destDir)
srcDir - Source directory. This parameter is required.destDir - Destination directory. This parameter is required.@Stability(value=Experimental) @NotNull public static String fingerprint(@NotNull String fileOrDirectory, @Nullable FingerprintOptions options)
The fingerprint will also include:
options.extra.options.excludefileOrDirectory - The directory or file to fingerprint. This parameter is required.options - Fingerprinting options.@Stability(value=Experimental) @NotNull public static String fingerprint(@NotNull String fileOrDirectory)
The fingerprint will also include:
options.extra.options.excludefileOrDirectory - The directory or file to fingerprint. This parameter is required.@Stability(value=Experimental) @NotNull public static Boolean isEmpty(@NotNull String dir)
dir - The directory to check. This parameter is required.@Stability(value=Experimental) @NotNull public static String mkdtemp(@NotNull String prefix)
prefix - A prefix for the directory name. This parameter is required.@Stability(value=Experimental) @NotNull public static String getTmpdir()
Copyright © 2021. All rights reserved.