commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "SimpleSftpFileDownload" by KenTanaka
Date Tue, 29 Apr 2008 22:09:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The following page has been changed by KenTanaka:
http://wiki.apache.org/jakarta-commons/SimpleSftpFileDownload

The comment on the change is:
Credited source of alternative method.

------------------------------------------------------------------------------
  } // class App
  }}}
  
- Note that there is an alternative method to casting fsManager to !DefaultFileSystemManager
and then calling close(). The release method could instead use {{{this.fsManager.closeFileSystem(this.fs);}}},
you would have to declare '''fs''' as a !FileSystem object in the class and set it from one
of the !FileObjects in the process routine:
+ Detlev Moerk brought to my attention that there is an alternative method to casting fsManager
to !DefaultFileSystemManager and then calling close(). The release method could instead use
{{{this.fsManager.closeFileSystem(fs);}}}, you would have to declare '''fs''' as a !FileSystem
object in the class and set it from one of the !FileObjects in the process routine:
  {{{
  FileObject src = null;
  

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


Mime
View raw message