commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schalk Cronjé <ysb...@gmail.com>
Subject [VFS] Is is safe to use FileObjects from different FileSystemManagers ?
Date Sat, 03 Jan 2015 00:51:16 GMT
Hi all,

I have been wondering about this one for a while.

Assume that I have instances of FileSystemManager

   FileSystemManager fsm1
   FileSystemManager fsm2

   FileObject fo1 = fsm1.resolveFile( 'ftp://some-server/file1' )
   FileObject fo2 = fsm2.resolveFile( 'ftp://other-server/file2' )

Is it safe to allow the two FileObjects to co-operate?

   fo1.moveTo(fo2).


-- 
Schalk W. Cronjé
Twitter / Ello / Toeter : @ysb33r


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message