Microsoft SDK for Java

encode

This method of the PermissionDataSet Class encodes the contents of the set of permissions and sends 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 process is completed successfully; otherwise, returns false.

Parameters

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

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