public class FatJar extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
FAT_JAR_INFO_RESOURCE |
| Constructor and Description |
|---|
FatJar(String innerJar,
Map<String,String> nativeLibraries) |
| Modifier and Type | Method and Description |
|---|---|
static FatJar |
load(ClassLoader loader) |
void |
store(OutputStream outputStream)
Serialize this instance as binary to
outputStream. |
void |
unpackJarTo(ClassLoader loader,
Path destination) |
void |
unpackNativeLibrariesInto(ClassLoader loader,
Path destination) |
public static final String FAT_JAR_INFO_RESOURCE
public static FatJar load(ClassLoader loader) throws ClassNotFoundException, IOException
FatJar object deserialized from the resource name via loader.ClassNotFoundExceptionIOExceptionpublic void store(OutputStream outputStream) throws IOException
outputStream.IOExceptionpublic void unpackNativeLibrariesInto(ClassLoader loader, Path destination) throws IOException
IOExceptionpublic void unpackJarTo(ClassLoader loader, Path destination) throws IOException
IOException