2010-05-13 73 views

回答

1

我做了一些谷歌搜索,发现这个链接。它可能会帮助你。

http://java.sun.com/developer/codesamples/rmi.html#file

+1

它应该被认为只是作为RMI使用的例子。如果您尝试复制大文件,您可能会遇到OutOfMemoryError。我会尝试[RMIIO](http://openhms.sourceforge.net/rmiio/)。 – rafalmag 2011-06-14 09:48:22