Class 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 Detail

      • MessageExporter

        public MessageExporter()
    • 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 located
        target - 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