org.enhydra.tool
Class ToolBoxInfo
java.lang.Object
|
+--org.enhydra.tool.ToolBoxInfo
- public class ToolBoxInfo
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_KERNEL_JAR
public static final java.lang.String FILE_KERNEL_JAR
- See Also:
- Constant Field Values
FILE_ENHYDRA_JAR
public static final java.lang.String FILE_ENHYDRA_JAR
- See Also:
- Constant Field Values
WML_FACTORY
public static final java.lang.String WML_FACTORY
- See Also:
- Constant Field Values
CHTML_FACTORY
public static final java.lang.String CHTML_FACTORY
- See Also:
- Constant Field Values
XHTML_FACTORY
public static final java.lang.String XHTML_FACTORY
- See Also:
- Constant Field Values
XMLC_VERSION_CLASS
public static final java.lang.String XMLC_VERSION_CLASS
- See Also:
- Constant Field Values
ENHYDRA_ROOT
public static final java.lang.String ENHYDRA_ROOT
- See Also:
- Constant Field Values
getCopyright
public static java.lang.String getCopyright()
loadProperties
public static java.util.Properties loadProperties()
throws ToolException
ToolException
storeProperties
public static java.io.File storeProperties(java.util.Properties prop)
throws ToolException
- Store persisted generator options to the properties file. This is
public and static to allow for the creation of a valid properties
file without having an instance of the CodeGen object. Creating
an instance of CodeGen requires that a valid properties file already
exist.
- Parameters:
prop
- Properties to save into the codegen.properties file.
- Returns:
- A file reference to the properties file.
- Throws:
java.io.IOException
- Thrown if unable to write to the codegen.properties file.
ToolException
getJavaPath
public static java.lang.String getJavaPath()
getEnhydraKeyJar
public static java.lang.String getEnhydraKeyJar()
getEnhydraVersion
public static java.lang.String getEnhydraVersion()
isEnhydra3
public static boolean isEnhydra3()
isClassAvailable
public static boolean isClassAvailable(java.lang.String className)
main
public static void main(java.lang.String[] args)
isXMLCVersion
public static boolean isXMLCVersion(int v)
getXMLCVersion
public static java.lang.String getXMLCVersion()
getEnhydraMainClass
public static java.lang.String getEnhydraMainClass()
- Get the class to run to start MultiServer.
isXMLCInClassPath
public static boolean isXMLCInClassPath()
isEnhydraInClassPath
public static boolean isEnhydraInClassPath()
getToolBoxVersion
public static java.lang.String getToolBoxVersion()
getPropertyFilename
public static java.lang.String getPropertyFilename()
- Method declaration
- Returns:
isRootSettable
public static boolean isRootSettable()
getEnhydraRoot
public static java.lang.String getEnhydraRoot()
getSupportedDocTypes
public static java.lang.String[] getSupportedDocTypes()
isEnhydraRoot
public static boolean isEnhydraRoot(java.lang.String path)