BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   import java.io.File; is not available (http://www.blackberryforums.com/developer-forum/215898-import-java-io-file-not-available.html)

prashantwaykar 01-06-2010 10:06 PM

import java.io.File; is not available
 
Hello Friends,
I am trying to parse an external file.
But when i am doing
File file = new File("c:\\MyXMLFile.xml");
.................................................. ......... it does not work.
Can some one please help me out??
Awaiting your reply.
Thanks in advance

Dougsg38p 01-06-2010 11:47 PM

You want to use FileConnection.

See the API docs.


All times are GMT -5. The time now is 07:37 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.