|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.util.StringHelper
General utilities supporting the packaging of string containing file references.
Constructor Summary | |
StringHelper()
|
Method Summary | |
static String |
toString(File file)
Parse a supplied file for patterns matching ${user.dir}, ${merlin.home}, and ${merlin.repository.local} and return the string using the symbolic representation. |
static String |
toString(String name)
Parse a supplied string for patterns matching ${user.dir}, ${merlin.home}, and ${merlin.repository.local} and return the string using the symbolic representation. |
static String |
toString(String[] names)
Parse a supplied string sequence for patterns matching ${user.dir}, ${merlin.home}, and ${merlin.repository.local} and return a string using the symbolic representation. |
static String |
toString(URL url)
Parse a supplied url for patterns matching ${user.dir}, ${merlin.home}, and ${merlin.repository.local} and return the string using the symbolic representation. |
static String |
toString(URL[] urls)
Parse a supplied url sequence for patterns matching ${user.dir}, ${merlin.home}, and ${merlin.repository.local} and return a string using the symbolic representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringHelper()
Method Detail |
public static String toString(String name)
name
- the string to parse
public static String toString(File file)
file
- the file to parse
public static String toString(URL url)
url
- the url to parse
public static String toString(URL[] urls)
urls
- the urls to parse
public static String toString(String[] names)
names
- the urls to parse
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |