public abstract class

AclFormattingUtils

extends Object
java.lang.Object
   ↳ org.springframework.security.acls.domain.AclFormattingUtils

Class Overview

Utility methods for displaying ACL information.

Summary

Public Constructors
AclFormattingUtils()
Public Methods
static String demergePatterns(String original, String removeBits)
static String mergePatterns(String original, String extraBits)
static String printBinary(int i)
Returns a representation of the active bits in the presented mask, with each active bit being denoted by character '*'.
static 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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AclFormattingUtils ()

Public Methods

public static String demergePatterns (String original, String removeBits)

public static String mergePatterns (String original, String extraBits)

public static String printBinary (int i)

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 RESERVED_OFF.

Parameters
i the integer bit mask to print the active bits for
Returns
  • a 32-character representation of the bit mask

public static 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.

Inactive bits will be denoted by character RESERVED_OFF.

Parameters
mask the integer bit mask to print the active bits for
code the character to print when an active bit is detected
Returns
  • a 32-character representation of the bit mask