Class WebstartInjector
- java.lang.Object
-
- com.logicaldoc.enterprise.webstart.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 Summary
Constructors Constructor Description WebstartInjector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
inject(File srcJar, Properties config, OutputStream output, String appFilename)
Injects the configuration as /ldconfig.properties resource in the given jar
-
-
-
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 injectoutput
- The stream to use to writeappFilename
- Name of the app file- Throws:
Exception
- an error happens handling the compressed archive
-
-