Package org.robovm.compiler.clazz
Interface Path
- All Known Implementing Classes:
AbstractPath,DirectoryPath,Java9RuntimePath,ZipFilePath
public interface Path
- Version:
- $Id$
-
Method Summary
Modifier and Type Method Description booleancontains(String file)Returnstrueif thisPathcontains a file with the specified name.voiddisposeBuildData()Dispose any cached data to reduce memory footprintFilegetFile()FilegetGeneratedClassFile(String internalName)Returns theFilewith the path where the generated class file with the specified internal name should be saved.intgetIndex()booleanhasChangedSince(long timestamp)booleanisInBootClasspath()Set<Clazz>listClasses()ClazzloadGeneratedClass(String internalName)Loads a generated class associated with thisPath.InputStreamopen(String file)
-
Method Details
-
getIndex
int getIndex() -
getFile
File getFile() -
listClasses
-
loadGeneratedClass
Loads a generated class associated with thisPath.- Returns:
- the
Clazzornullif not found.
-
getGeneratedClassFile
Returns theFilewith the path where the generated class file with the specified internal name should be saved.- Returns:
- the
Filefor the specified generated class.
-
hasChangedSince
boolean hasChangedSince(long timestamp) -
isInBootClasspath
boolean isInBootClasspath() -
contains
Returnstrueif thisPathcontains a file with the specified name.- Parameters:
file- the file including path to look for.- Returns:
trueif it exists,falseotherwise.
-
open
- Throws:
IOException
-
disposeBuildData
void disposeBuildData()Dispose any cached data to reduce memory footprint
-