Microsoft SDK for Java

encode

This method of the ReflectionPermission Class encodes a source according to the specified tag. This method implements the IEncodablePermission.encode method.

Syntax

public boolean encode(String tag, OutputStream out);

Return Value

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

Parameters

tag The string that indicates how to encode the data.
out The stream to write the encoded data to.

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