资 源 简 介
Last Update: 20.07.2010 - Rev: 1.0
This Java Class, provids an simple interface to mount afp and smb volumes on OSX and Windows.
Mounting smb (samba) and afp (AppleFileProtocol) volumes of a server with Java-code isn"t complicated, but a bit tricky. This class provides a simple method to mount volumes on OSX at the moment. We hope to find someone, who can do the implementation for Windows.
Example to use the VolumeMounter Class:
new VolumeMounter().mount("afp:/Lastname, Firstname:Password@file.serv.er/Mountname/"); new VolumeMounter().mount("smb://username:password@another.serv.er/Sharename/");
Usage of the Class:
The class may be used for personal, as well as for commercial use. It may be changed and reused in any project and is licensed under Apache License 2.0.
Anyway it would be great to hear from you, if you use our class :)