public final class LogUtil extends Object
LogUtil...| Modifier and Type | Method and Description |
|---|---|
static String |
safeGetJCRPath(ItemState itemState,
PathResolver pathResolver)
Failsafe conversion of an
ItemState to JCR path for use in
error messages etc. |
static String |
safeGetJCRPath(Path qPath,
PathResolver pathResolver)
Failsafe conversion of internal
Path to JCR path for use in
error messages etc. |
static String |
saveGetIdString(ItemId itemId,
PathResolver pathResolver)
Failsafe conversion of an
ItemId to a human readable string
resolving the path part of the specified id using the given path resolver. |
static String |
saveGetJCRName(Name qName,
NameResolver nameResolver)
Failsafe conversion of a
Name to a JCR name for use in
error messages etc. |
public static String safeGetJCRPath(Path qPath, PathResolver pathResolver)
Path to JCR path for use in
error messages etc.qPath - path to convertpathResolver - public static String safeGetJCRPath(ItemState itemState, PathResolver pathResolver)
ItemState to JCR path for use in
error messages etc.itemState - pathResolver - public static String saveGetJCRName(Name qName, NameResolver nameResolver)
Name to a JCR name for use in
error messages etc.qName - nameResolver - Name
in case the resolution fails.public static String saveGetIdString(ItemId itemId, PathResolver pathResolver)
ItemId to a human readable string
resolving the path part of the specified id using the given path resolver.itemId - pathResolver - ItemId.Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.