|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.jcr2spi.util.LogUtil
public class LogUtil
LogUtil
...
Constructor Summary | |
---|---|
LogUtil()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogUtil()
Method Detail |
---|
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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |