Microsoft SDK for Java

mapFormat

This method of the ReflectionPermission Class retrieves a permission-specific tag when given an encoding format. The tag can be used with the encode and decode methods to specify an encoding type. This method implements the IEncodablePermission.mapFormat method.

Syntax

public String mapFormat(String format);

Return Value

Returns the tag used to encode the data in the given format. If the specified format is not supported, null is returned.

Parameters

format The format that the tag is requested for. If format is null, the default format for the class is returned.

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