Package com.iizix.prop
Class ClasspathEntry
java.lang.Object
com.iizix.prop.ClasspathEntry
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
- Nested Class SummaryNested ClassesModifier and TypeClassDescription- static enumThe enumeration for the ClasspathEntry type.
- Field SummaryFieldsModifier and TypeFieldDescription- final StringThe path entry.- final ClasspathEntry.TypeThe type of entry.
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- booleanChecks for two equals.- static ClasspathEntry- fromString- (String string) Creates a new instance of ClasspathEntry from a string that came from- toString().- int- hashCode()Gets the hash code.- toString()Creates a string out of the entry that later can be used to create a new instance of the ClasspathEntry using- fromString(String).
- Field Details- typeThe type of entry.
- pathThe path entry.
 
- Constructor Details- ClasspathEntryConstructor.- Parameters:
- type- Type of entry.
- path- The path entry.
- Throws:
- NullPointerException- if type or path is null.
 
 
- Method Details- fromStringCreates 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.
 
- toStringCreates a string out of the entry that later can be used to create a new instance of the ClasspathEntry using- fromString(String).
- equalsChecks for two equals.
- hashCodepublic int hashCode()Gets the hash code.