PropertiesToUTF8
This class converts a file stored in the UTF-8 encoding format to
a properties file and vice versa.
| Methods |
| static void |
main(String... args)
This method is called when executing this application from the command
line.
|
| static void |
main(String... args) throws Exception
This method is called when executing this application from the command
line.
Parameters:
args - the command line parameters
|
| static void |
propertiesToTextUTF8(String source, String target)
Convert a properties file to a UTF-8 text file.
|
| static void |
propertiesToTextUTF8(String source, String target) throws Exception
Convert a properties file to a UTF-8 text file.
Parameters:
source - the name of the properties file
target - the target file name
|
| static void |
textUTF8ToProperties(String source, String target)
Convert a translation file (in UTF-8) to a properties file (without
special characters).
|
| static void |
textUTF8ToProperties(String source, String target) throws Exception
Convert a translation file (in UTF-8) to a properties file (without
special characters).
Parameters:
source - the source file name
target - the target file name
|
|