|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.acls.domain.AclFormattingUtils
public abstract class AclFormattingUtils
Utility methods for displaying ACL information.
Constructor Summary | |
---|---|
AclFormattingUtils()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AclFormattingUtils()
Method Detail |
---|
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 for
public 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 detected
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |