|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mat.snapshot.model.PrettyPrinter
public final class PrettyPrinter
Utility class to extract String representations of heap dump objects.
| Method Summary | |
|---|---|
static String |
arrayAsString(IPrimitiveArray charArray,
int offset,
int count,
int limit)
Convert a char[] object into a String. |
static String |
objectAsString(IObject stringObject,
int limit)
Convert a java.lang.String object into a String. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String objectAsString(IObject stringObject,
int limit)
throws SnapshotException
java.lang.String object into a String.
stringObject - the String object in the dumplimit - maximum number of characters to return
SnapshotException
public static String arrayAsString(IPrimitiveArray charArray,
int offset,
int count,
int limit)
char[] object into a String.
Unprintable characters are returned as \\unnnn values
charArray - offset - where to startcount - how many characters to readlimit - the maximum number of characters to read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||