org.openmdx.portal.utility
Class UiUtility
java.lang.Object
org.openmdx.base.application.control.Manageable
org.openmdx.base.application.control.Application
org.openmdx.portal.utility.UiUtility
- All Implemented Interfaces:
- ExceptionListener
public class UiUtility
- extends org.openmdx.base.application.control.Application
- implements ExceptionListener
Command line utility which supports the management of openCRX ui configuration files:
- merge: merges locale separated ui files (en_US, de_DE) to one merged file.
- split: splits a merged ui file to locale separated files.
- Author:
- wfro
| Fields inherited from class org.openmdx.base.application.control.Application |
EXIT_CODE_FAILED, EXIT_CODE_OK |
| Methods inherited from class org.openmdx.base.application.control.Application |
exit, exit, getApp, getCmdLineFreeArgOptions, getCmdLineOptions, getExitCode, getHelpText, getName, getVersion, hasFailed, mergeCmdLineOptions, setExitCode |
| Methods inherited from class org.openmdx.base.application.control.Manageable |
getCmdLineArgs, getController, getRawArgs, setController |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UiUtility
public UiUtility()
exceptionThrown
public void exceptionThrown(Exception exception)
- Specified by:
exceptionThrown in interface ExceptionListener
init
protected void init()
throws Exception
- Overrides:
init in class org.openmdx.base.application.control.Application
- Throws:
Exception
split
protected void split(List locales,
File sourceDir,
File targetDir,
String format)
throws org.openmdx.base.exception.ServiceException
- Throws:
org.openmdx.base.exception.ServiceException
merge
protected void merge(List locales,
File sourceDir,
File targetDir,
String format)
throws org.openmdx.base.exception.ServiceException
- Throws:
org.openmdx.base.exception.ServiceException
run
protected void run()
throws Exception
- Overrides:
run in class org.openmdx.base.application.control.Application
- Throws:
Exception
release
protected void release()
throws Exception
- Overrides:
release in class org.openmdx.base.application.control.Application
- Throws:
Exception
main
public static void main(String[] args)
This software is published under the BSD license. Copyright © 2006-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.