Class WebstartInjector


  • public class WebstartInjector
    extends Object
    Inject a ldconfig.properties file in the passed webstart application jar.
    Since:
    8.2.1
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • WebstartInjector

        public WebstartInjector()
    • Method Detail

      • inject

        public static void inject​(File srcJar,
                                  Properties config,
                                  OutputStream output,
                                  String appFilename)
                           throws Exception
        Injects the configuration as /ldconfig.properties resource in the given jar
        Parameters:
        srcJar - The archive to take as model(it will not be altered)
        config - The configuration to inject
        output - The stream to use to write
        appFilename - Name of the app file
        Throws:
        Exception - an error happens handling the compressed archive