| java.lang.Object com.sun.midp.publickeystore.Storage com.sun.midp.publickeystore.OutputStorage
OutputStorage | class OutputStorage extends Storage (Code) | | Write fields to an OutputStream.
|
Method Summary | |
void | writeValue(byte tag, byte[] value) Stores a byte array field as tag, BINARY_TYPE, value. | void | writeValue(byte tag, String value) Stores a String field as tag, STRING_TYPE, value. | void | writeValue(byte tag, long value) Stores a long field as tag, LONG_TYPE, value. | void | writeValue(byte tag, boolean value) Stores a boolean field as tag, BOOLEAN_TYPE, value. |
OutputStorage | OutputStorage(OutputStream output) throws IOException(Code) | | Constructs an OutputStorage for an OutputStream.
Parameters: output - the output storage output stream. exception: IOException - if the storage version cannot be written |
writeValue | void writeValue(byte tag, byte[] value) throws IOException(Code) | | Stores a byte array field as tag, BINARY_TYPE, value.
Parameters: tag - number to unique to this field Parameters: value - value of field |
writeValue | void writeValue(byte tag, String value) throws IOException(Code) | | Stores a String field as tag, STRING_TYPE, value.
Parameters: tag - number to unique to this field Parameters: value - value of field |
writeValue | void writeValue(byte tag, long value) throws IOException(Code) | | Stores a long field as tag, LONG_TYPE, value.
Parameters: tag - number to unique to this field Parameters: value - value of field |
writeValue | void writeValue(byte tag, boolean value) throws IOException(Code) | | Stores a boolean field as tag, BOOLEAN_TYPE, value.
Parameters: tag - number to unique to this field Parameters: value - value of field |
|
|