public class MountOptions
extends java.lang.Object
Constructor and Description |
---|
MountOptions() |
Modifier and Type | Method and Description |
---|---|
jfilesyslib.DriveType |
getDrivetype()
Returns the drive type (supported only on Windows)
The default value is HARD_DRIVE.
|
int |
getThreadCount()
Returns the number of threads used for the file system
|
boolean |
isMacOSXLocal()
Returns whether the file system should be mounted with the local flag on Mac OS X
This feature is turned off by default, because it may cause various problems. |
boolean |
isSyncMounting()
Returns true if the mounting process should be synchronous.
|
boolean |
isUnixOwnerImpersonateAllFiles()
If this feature is turned on, all files and directories will have the user, who has mounted the file system as their owner.
|
boolean |
isUnixOwnerImpersonateNewFiles()
If this feature is turned on, new files and directories will have the user, who has mounted the file system as their owner.
|
void |
setDrivetype(jfilesyslib.DriveType drivetype)
Sets the drive type (supported only on Windows)
The default value is HARD_DRIVE.
|
void |
setMacOSXLocal(boolean macOSXLocal)
Sets whether the file system should be mounted with the local flag on Mac OS X
This feature is turned off by default, because it may cause various problems. |
void |
setSyncMounting(boolean syncMounting)
If the actual parameter is true, the mount method acts synchronous.
|
void |
setThreadCount(int threadCount)
Sets the number of threads to use
|
void |
setUnixOwnerImpersonateAllFiles(boolean unixOwnerImpersonate)
If this feature is turned on, all files and directories will have the user, who has mounted the file system as their owner.
|
void |
setUnixOwnerImpersonateNewFiles(boolean unixOwnerImpersonate)
If this feature is turned on, new files and directories will have the user, who has mounted the file system as their owner.
|
public jfilesyslib.DriveType getDrivetype()
The default value is HARD_DRIVE.
public void setDrivetype(jfilesyslib.DriveType drivetype)
The default value is HARD_DRIVE.
drivetype
- the drive typepublic boolean isSyncMounting()
This feature is turned on by default.
public void setSyncMounting(boolean syncMounting)
This feature is turned on by default.
syncMounting
- the new valuepublic boolean isUnixOwnerImpersonateNewFiles()
This feature is turned on by default.
public void setUnixOwnerImpersonateNewFiles(boolean unixOwnerImpersonate)
This feature is turned on by default.
unixOwnerImpersonate
- the new valuepublic boolean isUnixOwnerImpersonateAllFiles()
This feature is turned off by default.
public void setUnixOwnerImpersonateAllFiles(boolean unixOwnerImpersonate)
This feature is turned off by default.
unixOwnerImpersonate
- the new valuepublic int getThreadCount()
public void setThreadCount(int threadCount)
threadCount
- the thread countpublic boolean isMacOSXLocal()
http://fuse4x.github.com/options.html#local
public void setMacOSXLocal(boolean macOSXLocal)
macOSXLocal
- whether the local flag should be sethttp://fuse4x.github.com/options.html#local