Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Open File By Path
Open File By Path [message #251401] Thu, 10 June 2004 07:35 Go to next message
Eclipse UserFriend
Originally posted by: strykeleader.hotmail.com

Hi,

I'm trying to open a file given a string pathname, like
c:\eclipse\workspace\foo\bar.py, so I can have access to the contents of
files in a library path. Actually, also would I be able to get the names of
files in a given directory first? Any help would be appreciated.

- Parhaum
Re: Open File By Path [message #253266 is a reply to message #251401] Wed, 16 June 2004 12:42 Go to previous message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

Try java.io.File.list() and java.io.FileInputStream.
--

Parhaum Toofanian wrote:
> I'm trying to open a file given a string pathname, like
> c:\eclipse\workspace\foo\bar.py, so I can have access to the contents of
> files in a library path. Actually, also would I be able to get the names of
> files in a given directory first? Any help would be appreciated.
Previous Topic:Newbie: resource not mapped to a file?
Next Topic:IJavaProject.setRawClasspath Exception
Goto Forum:
  


Current Time: Thu May 08 16:10:12 EDT 2025

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

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

Back to the top