public interface JavaProject
Modifier and Type | Method and Description |
---|---|
List<File> |
getClasspath()
Gets this project classpath.
|
List<File> |
getFolders(FolderKind... kinds)
Gets project folders of the given kinds.
|
File |
getIvyModule()
Gets the path to the project Ivy module file.
|
File |
getProjectFolder()
Gets this project root folder.
|
boolean |
isFolderKind(File folder,
FolderKind kind)
Gets if the given folder is of the given kind.
|
List<File> getClasspath()
Instances of File
that denote file paths are JAR files, and instances that denote folder paths are binary
folders, i.e. folders that contain .class
files.
List<File> getFolders(FolderKind... kinds)
kinds
- all kinds of folder to get.File getIvyModule()
File getProjectFolder()
boolean isFolderKind(File folder, FolderKind kind)
folder
- the folder to test.kind
- the kind of folder.true
if folder is of the given kind, false
otherwise.