Package com.xmlmind.w2x.processor
Class Main
- java.lang.Object
-
- com.xmlmind.w2x.processor.Main
-
public final class Main extends Object
Implementation of thew2xcommand-line utility.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidinitPlugins(String[] searchPluginErrors, URL[] pluginURLs)Load and register the plugins found in specified locations.static booleaninitResolver(File installDir)Adds a "w2x:" entry pointing to specified URL to the XML catalogs used by processors to resolve URLs.static voidmain(String[] args)voidrun(String[] args)Perform the conversion defined by specifiedw2xcommand-line arguments.
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
initResolver
public static final boolean initResolver(File installDir)
Adds a "w2x:" entry pointing to specified URL to the XML catalogs used by processors to resolve URLs.- Parameters:
installDir- the installation directory of XMLmind Word To XML. May benullin which case the resolver cannot be initialized.- Returns:
trueif the resolver has been initialized;falseotherwise- See Also:
Processor.initResolver(java.net.URL)
-
initPlugins
public static final void initPlugins(String[] searchPluginErrors, URL[] pluginURLs)
Load and register the plugins found in specified locations.
-
run
public void run(String[] args)
Perform the conversion defined by specifiedw2xcommand-line arguments.
-
-