This method of the PrintingPermission Class decodes the contents of the specified data stream into the permission object. The tag parameter specifies the type of data in the stream.
public boolean decode(String tag, InputStream data);
Returns true if the decoding operation succeeded; otherwise, returns false.
tag | The encoding type identifier. |
data | The raw data to construct the object from. The type of data is specified by the tag parameter. |