Class BundleDumper
- java.lang.Object
-
- org.apache.jackrabbit.core.persistence.util.BundleDumper
-
public class BundleDumper extends Object
This utility class can dump the contents of a node bundle. This class is based on BundleReader, but is able to dump even if the data is corrupt (unlike the BundleReader). The class does not have any dependencies so it can be run from the command line without problems (without having to add any jar files to the classpath).
-
-
Constructor Summary
Constructors Constructor Description BundleDumper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
convertBytesToHex(byte[] value)
String
dump(byte[] bundle)
static void
main(String... args)
-
-
-
Field Detail
-
UNDEFINED
public static final int UNDEFINED
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
BINARY
public static final int BINARY
- See Also:
- Constant Field Values
-
LONG
public static final int LONG
- See Also:
- Constant Field Values
-
DOUBLE
public static final int DOUBLE
- See Also:
- Constant Field Values
-
DATE
public static final int DATE
- See Also:
- Constant Field Values
-
BOOLEAN
public static final int BOOLEAN
- See Also:
- Constant Field Values
-
NAME
public static final int NAME
- See Also:
- Constant Field Values
-
PATH
public static final int PATH
- See Also:
- Constant Field Values
-
REFERENCE
public static final int REFERENCE
- See Also:
- Constant Field Values
-
WEAKREFERENCE
public static final int WEAKREFERENCE
- See Also:
- Constant Field Values
-
URI
public static final int URI
- See Also:
- Constant Field Values
-
DECIMAL
public static final int DECIMAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String... args) throws IOException
- Throws:
IOException
-
dump
public String dump(byte[] bundle) throws IOException
- Throws:
IOException
-
convertBytesToHex
public static String convertBytesToHex(byte[] value)
-
-