public class MountFactory
extends java.lang.Object
| Constructor and Description |
|---|
MountFactory(java.util.concurrent.ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isApplicable() |
Mount |
mount(java.nio.file.Path fileSystemRoot,
char driveLetter,
java.lang.String volumeName,
java.lang.String fileSystemName)
Mounts a drive with the given drive letter containing contents of the given path.
|
public MountFactory(java.util.concurrent.ExecutorService executorService)
public Mount mount(java.nio.file.Path fileSystemRoot, char driveLetter, java.lang.String volumeName, java.lang.String fileSystemName)
fileSystemRoot - Path to the directory which will be the content root of the mounted drive.driveLetter - The drive letter of the mounted drive.volumeName - The name of the drive as shown to the user.fileSystemName - The technical file system name shown in the drive properties window.public static boolean isApplicable()
Copyright © 2018. All rights reserved.