Serialized Form
-
Package jakarta.activation
-
Class jakarta.activation.MimeType
class MimeType extends Object implements Externalizable- serialVersionUID:
- 7548163901563814301L
-
Serialization Methods
-
readExternal
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.- Parameters:
in
- the ObjectInput object to read from- Throws:
ClassNotFoundException
- If the class for an object being restored cannot be found.IOException
-
writeExternal
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings and arrays.- Parameters:
out
- the ObjectOutput object to write to- Throws:
IOException
- Includes any I/O exceptions that may occur
-
-
Exception jakarta.activation.MimeTypeParseException
class MimeTypeParseException extends Exception implements Serializable- serialVersionUID:
- 1855296571002626216L
-
Exception jakarta.activation.UnsupportedDataTypeException
class UnsupportedDataTypeException extends IOException implements Serializable- serialVersionUID:
- -3584600599376858820L
-