|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.taskdef.XmlcUtils | +--org.enhydra.xml.xmlc.taskdef.DefaultXmlcUtilsImpl
Default implementation of the XmlcUtils class
Field Summary |
Fields inherited from class org.enhydra.xml.xmlc.taskdef.XmlcUtils |
DEFAULT_OPTIONS_FILENAME, DEFAULT_OPTIONS_FILETYPE, DEFAULT_UTILS_CLASS_KEY, DEFAULT_UTILS_CLASS_NAME |
Constructor Summary | |
protected |
DefaultXmlcUtilsImpl()
Construct default DefaultXmlcUtilsImpl (protected to force the use of XmlcUtils.create() factory method). |
Method Summary | |
String |
buildClassName(String theFullBaseFileName,
String theModifier)
Build a Java class name out of the specified components. |
String |
buildFullBaseFileName(String thePackageName,
String thePackageDir,
String theBaseFileName)
Build a full base file name (i.e. with no file type) out of the specified components. |
String[] |
getOptionFiles(File theDirectory)
Get a list of options files for the specified directory. |
String[] |
getOptionFiles(File[] theDirectories,
String theOptionsFileName)
Get a list of options files for the specified directories, having the specified name. |
String[] |
getOptionFiles(File[] theDirectories,
String[] theOptionsFileNames)
Get a list of options files for the specified directories, having the specified names. |
String[] |
getOptionFiles(File theDirectory,
String theOptionsFileName)
Get a list of options files for the specified directory, having the specified name. |
String[] |
getOptionFiles(File theDirectory,
String[] theOptionsFileNames)
Get a list of options files for the specified directory, having the specified names. |
Methods inherited from class org.enhydra.xml.xmlc.taskdef.XmlcUtils |
create |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected DefaultXmlcUtilsImpl()
Method Detail |
public String[] getOptionFiles(File theDirectory)
getOptionFiles
in class XmlcUtils
theDirectory
- The directory to look in for the options file.
public String[] getOptionFiles(File theDirectory, String theOptionsFileName)
getOptionFiles
in class XmlcUtils
theDirectory
- The directory to look in for the options file.theOptionsFileName
- The name of the options file to look for.
public String[] getOptionFiles(File theDirectory, String[] theOptionsFileNames)
getOptionFiles
in class XmlcUtils
theDirectory
- The directory to look in for the options file.theOptionsFileNames
- The list of names of the options file to look for.
public String[] getOptionFiles(File[] theDirectories, String theOptionsFileName)
getOptionFiles
in class XmlcUtils
theDirectories
- The list of directories to look in for the options files.theOptionsFileName
- The name of the options file to look for.
public String[] getOptionFiles(File[] theDirectories, String[] theOptionsFileNames)
getOptionFiles
in class XmlcUtils
theDirectories
- The list of directories to look in for the options files.theOptionsFileNames
- The list of names of the options file to look for.
public String buildFullBaseFileName(String thePackageName, String thePackageDir, String theBaseFileName)
buildFullBaseFileName
in class XmlcUtils
thePackageName
- The name of the package to prepend to the file name.
This should be specified using the Java naming convention
i.e. org.enhydra.xmlcthePackageDir
- 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/resourcestheBaseFileName
- The base file name that the preceding strings are prepended to.
public String buildClassName(String theFullBaseFileName, String theModifier)
buildClassName
in class XmlcUtils
theFullBaseFileName
- The full base file name (specified with '/' separators)
and no file type. e.g. "org.enhydra.test"theModifier
- The file modifier to append to the class name
e.g. HTML
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |