Package org.wildscribe.logs
Class MessageExporter
- java.lang.Object
-
- org.wildscribe.logs.MessageExporter
-
public class MessageExporter extends Object
A utility to export message id's and messages from modules to a binary data file.- Author:
- James R. Perkins
-
-
Constructor Summary
Constructors Constructor Description MessageExporter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Pathexport(Path modulesDir, Path target)Reads the JAR's from the modules directory looking for messages to write to the target file.
-
-
-
Method Detail
-
export
public static Path export(Path modulesDir, Path target) throws IOException
Reads the JAR's from the modules directory looking for messages to write to the target file.- Parameters:
modulesDir- the module directory where the JAR's to scan are locatedtarget- the file to be written- Returns:
- the path to the written file
- Throws:
IOException- if an error occurs reading the JAR or writing the binary data file
-
-