Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Using custom parser for org.apache.commons.net.ftp in RCP
Using custom parser for org.apache.commons.net.ftp in RCP [message #517078] Thu, 25 February 2010 20:34
Mustufa Kasidwala is currently offline Mustufa Kasidwala
Messages: 60
Registered: July 2009
Member
Hi,

I am coding an RCP app which will allow user to FTP a server. For FTP, I am
using 'org.apache.commons.net.ftp' library. This is working fine with the
application. But recently I wanted to use my own parser to parse the
listings from FTP, this apache library provides a mechanism to do so by
implementing its interface 'FTPFileEntryParser'. I did that and associated
the java class implementing this interface to the FTP library. But the code
in this FTP library which loads my parser is unable to view the class. Its
using 'Class.forName' to load my parser class but it fails with
ClassNotFoundException. I verified that the parser class name i am passing
is correct.

Are there any settings to be made in my plugin so that the FTP library can
view my classes?

--
Thanks and Regards

Mustufa Kasidwala
Previous Topic:Birt Report
Next Topic:Progress bar in splash shows for a very short time
Goto Forum:
  


Current Time: Fri Aug 29 16:30:38 EDT 2014

Powered by FUDForum. Page generated in 0.15106 seconds