Class OpcodeFileStorage
- java.lang.Object
-
- com.opencloud.rhino.management.opcode.OpcodeFileStorage
-
public class OpcodeFileStorage extends Object
Static utility class for saving/loading an xml file containing opcode data used for management auditing.
-
-
Field Summary
Fields Modifier and Type Field Description static String
OPCODES_RESOURCE
-
Constructor Summary
Constructors Constructor Description OpcodeFileStorage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
OPCODES_RESOURCE
public static final String OPCODES_RESOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadOpcodes
public static LinkedList<Opcode> loadOpcodes(File file) throws IOException
- Throws:
IOException
-
loadOpcodes
public static LinkedList<Opcode> loadOpcodes(InputStream is) throws IOException
- Throws:
IOException
-
saveOpcodes
public static void saveOpcodes(File file, LinkedList<Opcode> opcodes) throws IOException
- Throws:
IOException
-
saveOpcodes
public static void saveOpcodes(OutputStream os, LinkedList<Opcode> opcodes) throws IOException
- Throws:
IOException
-
-