Class ZipClassesFromClassResourceExporter
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.export.zip.ZipResourceExporter
-
- de.akquinet.jbosscc.guttenbase.export.zip.ZipClassesFromClassResourceExporter
-
public class ZipClassesFromClassResourceExporter extends ZipResourceExporter
Copy all classes and data that can be found relative to the given class resource to the generated JAR/ZIP.This allows us to create a self-contained executable JAR with a user defined startup class.
© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Field Summary
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.export.zip.ZipResourceExporter
LOG
-
-
Constructor Summary
Constructors Constructor Description ZipClassesFromClassResourceExporter(ZipOutputStream zipOutputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyClassesToZip(Class<?> startupClass)
Copy all classes and data that can be found relative to the given class resource to the generated JAR/ZIP.-
Methods inherited from class de.akquinet.jbosscc.guttenbase.export.zip.ZipResourceExporter
addEntry
-
-
-
-
Constructor Detail
-
ZipClassesFromClassResourceExporter
public ZipClassesFromClassResourceExporter(ZipOutputStream zipOutputStream)
-
-
Method Detail
-
copyClassesToZip
public void copyClassesToZip(Class<?> startupClass) throws IOException
Copy all classes and data that can be found relative to the given class resource to the generated JAR/ZIP.We support classes read from file system or JAR.
- Throws:
IOException
-
-