java.lang.Object
io.avaje.classpath.scanner.core.Location

public final class Location extends Object
A starting location to scan from.
  • Constructor Details

    • Location

      public Location(String descriptor)
      Creates a new location.
      Parameters:
      descriptor - The location descriptor.
  • Method Details

    • isClassPath

      public boolean isClassPath()
      Return true if this denotes a classpath location.
    • isFileSystem

      public boolean isFileSystem()
      Return true if this denotes a filesystem location.
    • path

      public String path()
      Return the path part of the location.
    • prefix

      public String prefix()
      Return the prefix denoting classpath of filesystem.
    • descriptor

      public String descriptor()
      Return the complete location descriptor.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object