Microsoft SDK for Java

encode

This method of the SecurityPermission Class encodes the contents of this permission object and sends the encoded data to the specified stream. The tag parameter specifies the type of encoding that should be used.

Syntax

public boolean encode(String tag, OutputStream out);

Return Value

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

Parameters

tag The encoding type identifier.
out The output stream to send the encoded data to.

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