M
Martin Burger
Hello,
I think org.eclipse.core.resources provides with IFile, IFolder,
IResourceVisitor etc. a very good abstraction of java.io.File:
http://help.eclipse.org/help31/inde...api/org/eclipse/core/resources/IResource.html
I'm writing a library that needs some functionality to traverse folders
and to manipulate files. That library should be not depend on the whole
Eclipse stuff (just a "JAR", not a plug-in for Eclipse).
Is there any way to use org.eclipse.core.resources in that way? Anybody
tried that?
If it is not possible (I think it is at least not easy), do you know any
other abstraction of java.io.File providing visitor pattern,
differentiation between files and folders etc.?
Thank you,
Martin
I think org.eclipse.core.resources provides with IFile, IFolder,
IResourceVisitor etc. a very good abstraction of java.io.File:
http://help.eclipse.org/help31/inde...api/org/eclipse/core/resources/IResource.html
I'm writing a library that needs some functionality to traverse folders
and to manipulate files. That library should be not depend on the whole
Eclipse stuff (just a "JAR", not a plug-in for Eclipse).
Is there any way to use org.eclipse.core.resources in that way? Anybody
tried that?
If it is not possible (I think it is at least not easy), do you know any
other abstraction of java.io.File providing visitor pattern,
differentiation between files and folders etc.?
Thank you,
Martin