Menu

#3 ChannelSftp.LsEntry - should be a Public class

open
nobody
None
5
2005-10-28
2005-10-28
Anonymous
No

Please make the LsEntry object created from using the
ChannelSftp.ls method it's own public class and not an
inner class.

Example of problem usecase:

vector = channel.ls(relPath);
for (Iterator iterator = vector.iterator();
iterator.hasNext();){
Object lsentryobj = iterator.next();
//what the heck do I cast this to - LsEntry is an inner
class
}
=====================

Thanks,
-D

Discussion


Log in to post a comment.