Class Start


  • public class Start
    extends Object
    Starts the w2x command-line tool, taking into account possible plugins.

    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).

    • Constructor Detail

      • Start

        protected Start()
    • Method Detail

      • main

        public static void main​(String[] args)
      • start

        protected void start​(String appClassName,
                             String[] args)
      • createClassLoader

        protected ClassLoader createClassLoader()
      • getClassPath

        protected URL[] getClassPath()
      • prependClasspath

        protected static final void prependClasspath​(List<URL> jarList)
      • getJars

        protected URL[] getJars()
      • getPlugins

        protected URL[] getPlugins()
      • getErrors

        protected String[] getErrors()
      • findInstallDir

        public 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.
        Returns:
        installation directory if found; null otherwise
      • scanPluginDirs

        public static final void scanPluginDirs​(File installDir,
                                                List<URL> jarList,
                                                List<URL> pluginList,
                                                List<String> errorList)