Class MessageResourceConsolidatorProxy
- java.lang.Object
-
- ch.sahits.game.openpatrician.app.display.MessageResourceConsolidatorProxy
-
public class MessageResourceConsolidatorProxy extends java.lang.Object
Consolidates the main message resources file, the german resources file and the old german resources file sent to UBS in one file.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
OUTPUT_FILE
-
Constructor Summary
Constructors Constructor Description MessageResourceConsolidatorProxy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.io.Resource
consolidateResources(java.lang.String lang)
Consolidates resources and creates a file with the consolidated message keys.private java.io.File
getOutputDirectory()
static void
main(java.lang.String[] args)
Create the file compared.
-
-
-
Field Detail
-
OUTPUT_FILE
private static final java.lang.String OUTPUT_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
consolidateResources
public org.springframework.core.io.Resource consolidateResources(java.lang.String lang) throws java.io.IOException
Consolidates resources and creates a file with the consolidated message keys.- Returns:
- the consolodated file with text resources
- Throws:
java.io.IOException
- if any of the properties files is not found
-
getOutputDirectory
private java.io.File getOutputDirectory()
-
main
public static void main(java.lang.String[] args)
Create the file compared.- Parameters:
args
- .
-
-