Reading a file from the project

I'm very new to OpenAPI and Swing, so if I ask stupid questions, please bear with me.

I'm writing a plugin for WebWork and I want to get a handle to a file that is in the project (xwork.xml). How would I go about doing that?

1 comment

Pat,

Have a look at the ProjectRootManager and the ModuleRootManager. Both give you access to the path configuration set up for a project / module respectively. Also of help will be the VfsUtil and the VirtualFileSystem objects.

Hope that helps.

-Daniel

0

Please sign in to leave a comment.