Enhydra 5.1 API

org.enhydra.tool
Class ToolBoxInfo

java.lang.Object
  |
  +--org.enhydra.tool.ToolBoxInfo

public class ToolBoxInfo
extends java.lang.Object


Field Summary
static java.lang.String CHTML_FACTORY
           
static java.lang.String ENHYDRA_ROOT
           
static java.lang.String FILE_ENHYDRA_JAR
           
static java.lang.String FILE_KERNEL_JAR
           
static java.lang.String WML_FACTORY
           
static java.lang.String XHTML_FACTORY
           
static java.lang.String XMLC_VERSION_CLASS
           
 
Method Summary
static java.lang.String getCopyright()
           
static java.lang.String getEnhydraKeyJar()
           
static java.lang.String getEnhydraMainClass()
          Get the class to run to start MultiServer.
static java.lang.String getEnhydraRoot()
           
static java.lang.String getEnhydraVersion()
           
static java.lang.String getJavaPath()
           
static java.lang.String getPropertyFilename()
          Method declaration
static java.lang.String[] getSupportedDocTypes()
           
static java.lang.String getToolBoxVersion()
           
static java.lang.String getXMLCVersion()
           
static boolean isClassAvailable(java.lang.String className)
           
static boolean isEnhydra3()
           
static boolean isEnhydraInClassPath()
           
static boolean isEnhydraRoot(java.lang.String path)
           
static boolean isRootSettable()
           
static boolean isXMLCInClassPath()
           
static boolean isXMLCVersion(int v)
           
static java.util.Properties loadProperties()
           
static void main(java.lang.String[] args)
           
static java.io.File storeProperties(java.util.Properties prop)
          Store persisted generator options to the properties file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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)

Enhydra 5.1 API