Microsoft SDK for Java

decode

This method of the ReflectionPermission Class decodes a source according to the specified tag. This method implements the IEncodablePermission.decode method.

Syntax

public boolean decode(String tag, InputStream data);

Return Value

Returns true if the decoding process is completed successfully; otherwise, returns false.

Parameters

tag The tag used for the decoding. It is the same tag that was used to encode the data.
data The stream that contains the encoded permission.

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