Interface Mounter
-
public interface Mounter
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMounter.CommandFailedExceptionstatic interfaceMounter.MountRepresents a single mounted volume and allows certain interactions with it.static interfaceMounter.UnmountOperation
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mounter.Mountmount(java.net.URI uri, MountParams mountParams)Tries to mount a given webdav share.
-
-
-
Method Detail
-
mount
Mounter.Mount mount(java.net.URI uri, MountParams mountParams) throws Mounter.CommandFailedException
Tries to mount a given webdav share.- Parameters:
uri- URI of the webdav sharemountParams- additional mount parameters, that might be needed by certain OS-specific mount commands.- Returns:
- a
Mounter.Mountrepresenting the mounted share - Throws:
Mounter.CommandFailedException- if the mount operation failsjava.lang.IllegalArgumentException- if mountParams is missing expected options
-
-