org.acegisecurity.acls
public final class AclFormattingUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
demergePatterns(java.lang.String original,
java.lang.String removeBits) |
static java.lang.String |
mergePatterns(java.lang.String original,
java.lang.String extraBits) |
static java.lang.String |
printBinary(int i)
Returns a representation of the active bits in the presented mask, with each active bit being denoted by
character "".
|
static java.lang.String |
printBinary(int mask,
char code)
Returns a representation of the active bits in the presented mask, with each active bit being denoted by
the passed character.
|
public static java.lang.String demergePatterns(java.lang.String original, java.lang.String removeBits)
public static java.lang.String mergePatterns(java.lang.String original, java.lang.String extraBits)
public static java.lang.String printBinary(int i)
Inactive bits will be denoted by character Permission.RESERVED_OFF
.
i
- the integer bit mask to print the active bits forpublic static java.lang.String printBinary(int mask, char code)
Inactive bits will be denoted by character Permission.RESERVED_OFF
.
mask
- the integer bit mask to print the active bits forcode
- the character to print when an active bit is detectedCopyright © 2004-2014 Interface21, Inc. All Rights Reserved.