|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lutris.ant.taskdefs.XmlcUtils
Abstract base xmlc utilities class
Field Summary | |
static java.lang.String |
DEFAULT_OPTIONS_FILENAME
The default extension for an XMLC options file. |
static java.lang.String |
DEFAULT_OPTIONS_FILETYPE
The name of the default XMLC options file. |
static java.lang.String |
DEFAULT_UTILS_CLASS_KEY
The system property holding the classname of the class to instantiate when XmlcUtils.create() is called. |
static java.lang.String |
DEFAULT_UTILS_CLASS_NAME
The default classname of the class to instantiate when XmlcUtils.create() is called. |
Constructor Summary | |
protected |
XmlcUtils()
Construct default XmlcUtils (protected to force the use of XmlcUtils.create() factory method). |
Method Summary | |
(package private) static void |
|
abstract java.lang.String |
buildClassName(java.lang.String s,
java.lang.String s1)
Build a Java class name out of the specified components. |
abstract java.lang.String |
buildFullBaseFileName(java.lang.String s,
java.lang.String s1,
java.lang.String s2)
Build a full base file name (i.e. with no file type) out of the specified components. |
static XmlcUtils |
create()
Factory method for creating instances of the XmlcUtils class. |
abstract java.lang.String[] |
getOptionFiles(java.io.File file)
Get a list of options files for the specified directory. |
abstract java.lang.String[] |
getOptionFiles(java.io.File[] afile,
java.lang.String s)
Get a list of options files for the specified directory, having the specified names. |
abstract java.lang.String[] |
getOptionFiles(java.io.File[] afile,
java.lang.String[] as)
Get a list of options files for the specified directories, having the specified names. |
abstract java.lang.String[] |
getOptionFiles(java.io.File file,
java.lang.String s)
Get a list of options files for the specified directory, having the specified name. |
abstract java.lang.String[] |
getOptionFiles(java.io.File file,
java.lang.String[] as)
Get a list of options files for the specified directory, having the specified names. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_OPTIONS_FILETYPE
public static final java.lang.String DEFAULT_OPTIONS_FILENAME
public static final java.lang.String DEFAULT_UTILS_CLASS_KEY
public static final java.lang.String DEFAULT_UTILS_CLASS_NAME
Constructor Detail |
protected XmlcUtils()
Method Detail |
public abstract java.lang.String buildClassName(java.lang.String s, java.lang.String s1)
s
- - The full base file name (specified with '/' separators) and no
file type. e.g. "com.lutris.test"s1
- - The file modifier to append to the class name e.g. HTMLpublic abstract java.lang.String buildFullBaseFileName(java.lang.String s, java.lang.String s1, java.lang.String s2)
s
- - The name of the package to prepend to the file name. This
should be specified using the Java naming convention i.e.
com.lutris.xmlcs1
- - The name of the directory to prepend to the file name. This
is a directory path that can be specified using either '/' or '\' i.e.
foo/resourcess2
- - The base file name that the preceding strings are prepended to.public abstract java.lang.String[] getOptionFiles(java.io.File file)
file
- - The directory to look in for the options file.public abstract java.lang.String[] getOptionFiles(java.io.File file, java.lang.String s)
file
- - The directory to look in for the options file.s
- - The name of the options file to look for.public abstract java.lang.String[] getOptionFiles(java.io.File file, java.lang.String[] as)
file
- - The directory to look in for the options file.as[]
- - The list of names of the options file to look forpublic abstract java.lang.String[] getOptionFiles(java.io.File[] afile, java.lang.String s)
afile[]
- - The directory to look in for the options files
- - The list of names of the options file to look for.public abstract java.lang.String[] getOptionFiles(java.io.File[] afile, java.lang.String[] as)
afile[]
- - The list of directories to look in for the options files.as[]
- - The list of names of the options file to look for.static void()
public static XmlcUtils create()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |