Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how to implement validation in Import wizard
how to implement validation in Import wizard [message #556461] Wed, 01 September 2010 12:57 Go to next message
raj is currently offline rajFriend
Messages: 19
Registered: January 2010
Location: hyderabad
Junior Member

HI ..

i want to import 2 text files in to my RCP application. how to validate the content in the in text file show errors if any.
before importing it. pls send me any articles or links related.

Thanks and Regards,
Raj,
Re: how to implement validation in Import wizard [message #556472 is a reply to message #556461] Wed, 01 September 2010 13:49 Go to previous message
eshvar60  is currently offline eshvar60 Friend
Messages: 51
Registered: March 2010
Member
This is not really an RCP question but here is an answer anyway.

I recommend using the Apache Commons IO library(commons-io-1.4.jar, google it). It has a class called FileUtils which has various utilities for reading files line by line like the readLines(File) method.
Re: how to implement validation in Import wizard [message #556473 is a reply to message #556461] Wed, 01 September 2010 13:40 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 01/09/10 6:27 PM, raj wrote:
> i want to import 2 text files in to my RCP application. how to validate
> the content in the in text file show errors if any.
> before importing it. pls send me any articles or links related.

http://www.eclipse.org/articles/article.php?file=Article-JFa ceWizards/index.html

Google would have helped you much faster than me :-)

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Previous Topic:[CNF] Potential LinkHelper configuration bug
Next Topic:Virtual tree viewer does not redraw after setInput() is called
Goto Forum:
  


Current Time: Thu Mar 28 20:11:50 GMT 2024

Powered by FUDForum. Page generated in 0.02711 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top