Microsoft SDK for Java

decode

This method of the NetIOPermission Class decodes the contents of the specified data stream into this permission object. The tag parameter specifies the type of data in the stream.

Syntax

public boolean decode(String tag, InputStream data);

Return Value

Returns true if the decoding operation succeeded; otherwise, returns false.

Parameters

tag The encoding type identifier.
data The raw data to construct the object from. The type of data is specified by the tag parameter.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.