I need to find a specific file present in eclipse project which is in classpath of project.
I have IProject
instance but Dont know how to get IFile
instance
I need to find a specific file present in eclipse project which is in classpath of project.
I have IProject
instance but Dont know how to get IFile
instance
The IProject
interface extends the IContainer
which has several findMember
methods. You get an IResource which can be casted down to IFile
after checking its' type using getType
. Go over those interfaces, they are properly documented.