public final class Main extends Object
Constructor and Description |
---|
Main()
Simple constructor (use it when there are no plugins).
|
Main(Map<String,Object> env)
Constructor invoked by
Start . |
Modifier and Type | Method and Description |
---|---|
static void |
initPlugins(String[] searchPluginErrors,
URL[] pluginURLs)
Load and register the plugins found in specified locations.
|
static boolean |
initResolver(File installDir)
Adds a "w2x:" entry pointing to specified URL
to the XML catalogs used by processors to resolve URLs.
|
static void |
main(String[] args) |
void |
run(String[] args)
Perform the conversion defined by specified w2x
command-line arguments.
|
public static void main(String[] args)
public static final boolean initResolver(File installDir)
installDir
- the installation directory of XMLmind Word To XML.
May be null
in which case the resolver
cannot be initialized.true
if the resolver has been initialized;
false
otherwiseProcessor.initResolver(java.net.URL)
public static final void initPlugins(String[] searchPluginErrors, URL[] pluginURLs)
public void run(String[] args)