public class OpcodeFileStorage extends Object
Static utility class for saving/loading an xml file containing opcode data used for management auditing.
Modifier and Type | Field and Description |
---|---|
static String |
OPCODES_RESOURCE |
Constructor and Description |
---|
OpcodeFileStorage() |
Modifier and Type | Method and Description |
---|---|
static LinkedList<Opcode> |
loadOpcodes(File file) |
static LinkedList<Opcode> |
loadOpcodes(InputStream is) |
static void |
saveOpcodes(File file,
LinkedList<Opcode> opcodes) |
static void |
saveOpcodes(OutputStream os,
LinkedList<Opcode> opcodes) |
public static final String OPCODES_RESOURCE
public static LinkedList<Opcode> loadOpcodes(File file) throws IOException
IOException
public static LinkedList<Opcode> loadOpcodes(InputStream is) throws IOException
IOException
public static void saveOpcodes(File file, LinkedList<Opcode> opcodes) throws IOException
IOException
public static void saveOpcodes(OutputStream os, LinkedList<Opcode> opcodes) throws IOException
IOException