public class CustomJarWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.HashMap<java.lang.String,java.lang.Object> |
itemHM |
Constructor and Description |
---|
CustomJarWriter() |
CustomJarWriter(java.util.HashMap<java.lang.String,java.lang.Object> hm) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.io.File f) |
void |
add(java.lang.String name,
java.lang.Object value) |
void |
addMain(java.io.File f) |
void |
addMain(java.lang.String sdata) |
void |
addMimetype(java.lang.String mt) |
void |
write(java.io.File fout) |
private void |
writeByteArrayToFile(byte[] ba,
java.io.File fout) |
public CustomJarWriter()
public CustomJarWriter(java.util.HashMap<java.lang.String,java.lang.Object> hm)
public void addMain(java.lang.String sdata)
public void addMain(java.io.File f)
public void addMimetype(java.lang.String mt)
public void add(java.io.File f)
public void add(java.lang.String name, java.lang.Object value)
public void write(java.io.File fout)
private void writeByteArrayToFile(byte[] ba, java.io.File fout) throws java.io.IOException
java.io.IOException
Copyright © 2013. All Rights Reserved.