public class FolderPart extends PathPart
| Constructor and Description |
|---|
FolderPart(File folder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasCompilationUnit(String canonicalName) |
boolean |
hasPackage(String name) |
boolean |
selectCompilationUnit(String canonicalName) |
String |
toString() |
createClassPath, createSourcePath, fileSuffix, getAge, getCompilationUnit, getInputStream, getProgram, setProgrampublic FolderPart(File folder)
public boolean hasPackage(String name)
hasPackage in class PathPartname - The qualified package nametrue if the given package exists in this source
folderpublic boolean hasCompilationUnit(String canonicalName)
public boolean selectCompilationUnit(String canonicalName) throws IOException
selectCompilationUnit in class PathPartIOExceptionCopyright © 2020 Soot OSS. All rights reserved.