| java.lang.Object org.acegisecurity.acls.AclFormattingUtils
AclFormattingUtils | final public class AclFormattingUtils (Code) | | Utility methods for displaying ACL information.
author: Ben Alex version: $Id: AclFormattingUtils.java 1784 2007-02-24 21:00:24Z luke_t $ |
printBinary | public static String printBinary(int i)(Code) | | Returns a representation of the active bits in the presented mask, with each active bit being denoted by
character "". Inactive bits will be denoted by character
Permission.RESERVED_OFF .
Parameters: i - the integer bit mask to print the active bits for a 32-character representation of the bit mask |
printBinary | public static String printBinary(int mask, char code)(Code) | | Returns a representation of the active bits in the presented mask, with each active bit being denoted by
the passed character. Inactive bits will be denoted by character
Permission.RESERVED_OFF .
Parameters: mask - the integer bit mask to print the active bits for Parameters: code - the character to print when an active bit is detected a 32-character representation of the bit mask |
|
|