Interface Path

All Known Implementing Classes:
AbstractPath, DirectoryPath, Java9RuntimePath, ZipFilePath

public interface Path
Version:
$Id$
  • Method Details

    • getIndex

      int getIndex()
    • getFile

      File getFile()
    • listClasses

      Set<Clazz> listClasses()
    • loadGeneratedClass

      Clazz loadGeneratedClass​(String internalName)
      Loads a generated class associated with this Path.
      Returns:
      the Clazz or null if not found.
    • getGeneratedClassFile

      File getGeneratedClassFile​(String internalName)
      Returns the File with the path where the generated class file with the specified internal name should be saved.
      Returns:
      the File for the specified generated class.
    • hasChangedSince

      boolean hasChangedSince​(long timestamp)
    • isInBootClasspath

      boolean isInBootClasspath()
    • contains

      boolean contains​(String file)
      Returns true if this Path contains a file with the specified name.
      Parameters:
      file - the file including path to look for.
      Returns:
      true if it exists, false otherwise.
    • open

      InputStream open​(String file) throws IOException
      Throws:
      IOException
    • disposeBuildData

      void disposeBuildData()
      Dispose any cached data to reduce memory footprint