public interface JavaProject
Modifier and Type | Method and Description |
---|---|
java.util.List<java.io.File> |
getClasspath()
Gets this project classpath.
|
java.util.List<java.io.File> |
getFolders(FolderKind... kinds)
Gets project folders of the given kinds.
|
java.io.File |
getIvyModule()
Gets the path to the project Ivy module file.
|
java.io.File |
getProjectFolder()
Gets this project root folder.
|
boolean |
isFolderKind(java.io.File folder,
FolderKind kind)
Gets if the given folder is of the given kind.
|
java.io.File getProjectFolder()
java.io.File getIvyModule()
java.util.List<java.io.File> getFolders(FolderKind... kinds)
kinds
- all kinds of folder to get.boolean isFolderKind(java.io.File folder, FolderKind kind)
folder
- the folder to test.kind
- the kind of folder.true
if folder is of the given kind, false
otherwise.java.util.List<java.io.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.