public final class LogUtil extends Object
LogUtil...| Modifier and Type | Method and Description |
|---|---|
static String |
safeGetJCRPath(ItemState itemState,
org.apache.jackrabbit.spi.commons.conversion.PathResolver pathResolver)
Failsafe conversion of an
ItemState to JCR path for use in
error messages etc. |
static String |
safeGetJCRPath(org.apache.jackrabbit.spi.Path qPath,
org.apache.jackrabbit.spi.commons.conversion.PathResolver pathResolver)
Failsafe conversion of internal
Path to JCR path for use in
error messages etc. |
static String |
saveGetIdString(org.apache.jackrabbit.spi.ItemId itemId,
org.apache.jackrabbit.spi.commons.conversion.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(org.apache.jackrabbit.spi.Name qName,
org.apache.jackrabbit.spi.commons.conversion.NameResolver nameResolver)
Failsafe conversion of a
Name to a JCR name for use in
error messages etc. |
public static String safeGetJCRPath(org.apache.jackrabbit.spi.Path qPath, org.apache.jackrabbit.spi.commons.conversion.PathResolver pathResolver)
Path to JCR path for use in
error messages etc.qPath - path to convertpathResolver - public static String safeGetJCRPath(ItemState itemState, org.apache.jackrabbit.spi.commons.conversion.PathResolver pathResolver)
ItemState to JCR path for use in
error messages etc.itemState - pathResolver - public static String saveGetJCRName(org.apache.jackrabbit.spi.Name qName, org.apache.jackrabbit.spi.commons.conversion.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(org.apache.jackrabbit.spi.ItemId itemId, org.apache.jackrabbit.spi.commons.conversion.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–2018 The Apache Software Foundation. All rights reserved.