public class Start extends Object
For this, Start
class scans the directories
specifed in system property or environment variable
W2X_PLUGIN_PATH, searching for .jar files
(containing custom ProcessStep
code or some support code) and
for .w2x_plugin files (containing plugin specifications).
Modifier and Type | Field and Description |
---|---|
protected ArrayList<String> |
errorList |
protected ArrayList<URL> |
jarList |
static String |
PLUGIN_SUFFIX |
protected ArrayList<URL> |
pluginList |
Modifier | Constructor and Description |
---|---|
protected |
Start() |
Modifier and Type | Method and Description |
---|---|
protected Object |
createApp(ClassLoader classLoader,
String appClassName,
File installDir) |
protected ClassLoader |
createClassLoader() |
protected void |
doStart(ClassLoader classLoader,
String appClassName,
File installDir,
String[] args) |
static File |
findInstallDir()
Search the CLASSPATH for w2x.jar or
w2x_all.jar or w2x_app.jar to determine
the location of the installation directory of XMLmind Word To XML.
|
protected URL[] |
getClassPath() |
protected String[] |
getErrors() |
protected URL[] |
getJars() |
protected URL[] |
getPlugins() |
static void |
main(String[] args) |
protected static void |
prependClasspath(List<URL> jarList) |
protected void |
runApp(Object app,
String[] args) |
static void |
scanPluginDir(File dir,
List<URL> jarList,
List<URL> pluginList,
List<String> errorList) |
static void |
scanPluginDirs(File installDir,
List<URL> jarList,
List<URL> pluginList,
List<String> errorList) |
protected void |
start(String appClassName,
String[] args) |
public static final String PLUGIN_SUFFIX
public static void main(String[] args)
protected void doStart(ClassLoader classLoader, String appClassName, File installDir, String[] args)
protected ClassLoader createClassLoader()
protected URL[] getClassPath()
protected URL[] getJars()
protected Object createApp(ClassLoader classLoader, String appClassName, File installDir) throws Exception
Exception
protected URL[] getPlugins()
protected String[] getErrors()
public static File findInstallDir()
null
otherwisepublic static final void scanPluginDirs(File installDir, List<URL> jarList, List<URL> pluginList, List<String> errorList)