Package org.kohsuke.sfx4j
Class Packager
java.lang.Object
org.kohsuke.sfx4j.Packager
Generates the installer class file.
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
copyWithReplace
(Reader in, Writer out, String oldToken, String newToken) static void
private static byte[]
pack
(InputStream contents) private static byte[]
-
Constructor Details
-
Packager
public Packager()
-
-
Method Details
-
main
- Throws:
IOException
-
readStream
- Throws:
IOException
-
copyWithReplace
private static void copyWithReplace(Reader in, Writer out, String oldToken, String newToken) throws IOException - Throws:
IOException
-
pack
- Throws:
IOException
-