Class ClasspathEntry

java.lang.Object
com.iizix.prop.ClasspathEntry

public class ClasspathEntry extends Object
Classpath entry specification for the classpath. This information comes from Eclipse and is simplified in order not to use Inclusion and Exclusion patterns, Access rules or Extra attributes. This could be added later.
Author:
Christopher Mindus
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • fromString Link icon

      public static ClasspathEntry fromString(String string)
      Creates a new instance of ClasspathEntry from a string that came from toString().
      Parameters:
      string - The string.
      Returns:
      A new ClasspathEntry instance.
      Throws:
      IllegalArgumentException - If the string format is invalid.
    • toString Link icon

      public String toString()
      Creates a string out of the entry that later can be used to create a new instance of the ClasspathEntry using fromString(String).
      Overrides:
      toString in class Object
      Returns:
      A string as TYPE=path.
    • equals Link icon

      public boolean equals(Object o)
      Checks for two equals.
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Gets the hash code.
      Overrides:
      hashCode in class Object