public class PrintUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INDENT_WIDTH
Each indentation will be 2 spaces wide.
|
Constructor and Description |
---|
PrintUtils(PrintWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
printAVPairs(Map avPairs)
Prints AV Pairs with no indentation. this method calls the toString
method of the objects which are in the Map.
|
void |
printAVPairs(Map avPairs,
int indentLevel)
Prints AV Pairs with the specified indent level.
|
void |
printIndent(int indentLevel)
This method prints the indent based on the value of the indentLevel.
|
void |
printSet(Set set)
Prints the contents of a Set with no indentation this method calls the
toString method of the objects which are in the set.
|
void |
printSet(Set set,
int indentLevel)
Prints the contents of a Set with the specified indent level.
|
public static final int INDENT_WIDTH
public PrintUtils(PrintWriter writer)
public void printAVPairs(Map avPairs)
avPairs
- which contains a Map of attribute value pairs that should be
printed.public void printAVPairs(Map avPairs, int indentLevel)
avPairs
- which contains a Map of attribute value pairs that should be
printedindentLevel
- the int value which specifies the width of the indent.public void printSet(Set set)
set
- which contains a set of objects that should be printed.public void printSet(Set set, int indentLevel)
set
- which contains a set of objects that should be printedindentLevel
- the int value which specifies the width of the indent.public void printIndent(int indentLevel)
indentLevel
- the int value which specifies the size of the indent.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.