public static final class Mounts.Builder extends Object
MountInfoProvider instances| Modifier and Type | Method and Description |
|---|---|
MountInfoProvider |
build()
Creates a new
MountInfoProvider |
Mounts.Builder |
mount(String name,
boolean readOnly,
List<String> pathsSupportingFragments,
List<String> paths)
Adds a new Mount instance with the specified parameters
|
Mounts.Builder |
mount(String name,
String... paths)
Adds a new read-write
Mount with the specified name and paths |
Mounts.Builder |
readOnlyMount(String name,
String... paths)
Adds a new read-only Mount with the specified name and paths
|
public Mounts.Builder mount(String name, String... paths)
Mount with the specified name and pathsname - the name of the mountpaths - the paths handled by the mountpublic Mounts.Builder readOnlyMount(String name, String... paths)
name - the name of the mountpaths - the paths handled by the mountpublic Mounts.Builder mount(String name, boolean readOnly, List<String> pathsSupportingFragments, List<String> paths)
name - the name of the mountreadOnly - true for read-only paths, false otherwisepathsSupportingFragments - the paths supporting fragments, see Mount.getPathFragmentName()paths - the paths handled by the mountpublic MountInfoProvider build()
MountInfoProviderCopyright © 2010 - 2020 Adobe. All Rights Reserved