|
org.netbeans.modules.java.api.common/0 1.37 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.java.api.common.classpath.ClassPathSupport
public final class ClassPathSupport
Support for reading/writting classpath like properties.
| Nested Class Summary | |
|---|---|
static interface |
ClassPathSupport.Callback
Optional callback to customize classpath support behaviour. |
static class |
ClassPathSupport.Item
Item of the classpath. |
| Field Summary | |
|---|---|
static String |
ENDORSED
Classpath for endorsed libraries. |
| Constructor Summary | |
|---|---|
ClassPathSupport(PropertyEvaluator evaluator,
ReferenceHelper referenceHelper,
AntProjectHelper antProjectHelper,
UpdateHelper updateHelper,
ClassPathSupport.Callback callback)
Creates a new instance of ClassPathSupport |
|
| Method Summary | |
|---|---|
String[] |
encodeToStrings(List<ClassPathSupport.Item> classpath)
Converts list of classpath items into array of Strings. |
String[] |
encodeToStrings(List<ClassPathSupport.Item> classpath,
String projectXMLElement)
|
String[] |
encodeToStrings(List<ClassPathSupport.Item> classpath,
String projectXMLElement,
String libraryVolumeType)
|
static String |
getLibraryNameFromReference(String property)
Returns library name if given property represents library reference otherwise return null. |
String |
getLibraryReference(ClassPathSupport.Item item)
|
String |
getLibraryReference(ClassPathSupport.Item item,
String volumeType)
|
static boolean |
isVariableBasedReference(String ref)
|
Iterator<ClassPathSupport.Item> |
itemsIterator(String propertyValue)
Creates list of Items from given property. |
Iterator<ClassPathSupport.Item> |
itemsIterator(String propertyValue,
String projectXMLElement)
|
List<ClassPathSupport.Item> |
itemsList(String propertyValue)
|
List<ClassPathSupport.Item> |
itemsList(String propertyValue,
String projectXMLElement)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ENDORSED
ClassPath for other classpath
types.
| Constructor Detail |
|---|
public ClassPathSupport(PropertyEvaluator evaluator,
ReferenceHelper referenceHelper,
AntProjectHelper antProjectHelper,
UpdateHelper updateHelper,
ClassPathSupport.Callback callback)
| Method Detail |
|---|
public Iterator<ClassPathSupport.Item> itemsIterator(String propertyValue)
Items from given property.
public Iterator<ClassPathSupport.Item> itemsIterator(String propertyValue,
String projectXMLElement)
public List<ClassPathSupport.Item> itemsList(String propertyValue)
public List<ClassPathSupport.Item> itemsList(String propertyValue,
String projectXMLElement)
public String[] encodeToStrings(List<ClassPathSupport.Item> classpath)
public String[] encodeToStrings(List<ClassPathSupport.Item> classpath,
String projectXMLElement)
public String[] encodeToStrings(List<ClassPathSupport.Item> classpath,
String projectXMLElement,
String libraryVolumeType)
classpath - projectXMLElement - libraryVolumeType -
public String getLibraryReference(ClassPathSupport.Item item)
public String getLibraryReference(ClassPathSupport.Item item,
String volumeType)
item - volumeType -
public static boolean isVariableBasedReference(String ref)
public static String getLibraryNameFromReference(String property)
property - property to test
|
org.netbeans.modules.java.api.common/0 1.37 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||