public class CharacterEncodingTranslator extends Object
CharacterEncodingTranslator is a console and GUI front-end for
CharsetTranslator.
GUI usage:
java[w] -jar cetrans.jar
Console usage:
java -jar cetrans.jar [-xmlcharref] source-filename source-encoding target-filename target-encoding
| Modifier and Type | Field and Description |
|---|---|
static String |
USAGE
The command-line usage message.
|
static String |
VERSION
The current application SemVer version string.
|
| Constructor and Description |
|---|
CharacterEncodingTranslator()
Builds the GUI components for the Character Encoding Translator
application.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Launches Character Encoding Translator as a GUI or console
application.
|
public static final String USAGE
public static final String VERSION
public CharacterEncodingTranslator()
public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException
Without command-line arguments, the application runs as a GUI. With command-line arguments, the application runs on the console.
To run on the console, provide the following positional arguments:
args - the command-line argumentsClassNotFoundException - if the L&F class name is not found on
the CLASSPATHInstantiationException - if the L&F class cannot be
instantiatedIllegalAccessException - if the current user does not have
permission to access the L&F classUnsupportedLookAndFeelException - if the L&F class name is not
recognizedCopyright © 2010–2015 Matthew Zipay. All rights reserved.