A C D E F G I J K L M N O P R S T V W 

A

append(JsopWriter) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append all entries of the given buffer.
append(JsopWriter) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
append(JsopWriter) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append all entries of the given buffer.
array() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append '['.
array() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
array() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append '['.

C

Cache<K,V extends Cache.Value> - Class in org.apache.jackrabbit.oak.commons.cache
 
Cache.Backend<K,V> - Interface in org.apache.jackrabbit.oak.commons.cache
A cache backend that can load objects from persistent storage.
Cache.Value - Interface in org.apache.jackrabbit.oak.commons.cache
A cacheable object.
clear() - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
closeQuietly(Closeable) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Unconditionally close a Closeable.
closeQuietly(Socket) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Unconditionally close a Socket.
COMMENT - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of a comment, if supported by the reader.
concat(String, String...) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Concatenate path elements.
concat(String, String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Concatenate path elements.
convertBytesToHex(byte[]) - Static method in class org.apache.jackrabbit.oak.commons.StringUtils
Convert a byte array to a hex encoded string.
convertHexToBytes(String) - Static method in class org.apache.jackrabbit.oak.commons.StringUtils
Convert a hex encoded string to a byte array.
copy(InputStream, OutputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Copy bytes from an InputStream to an OutputStream.
create(JsopTokenizer) - Static method in class org.apache.jackrabbit.oak.commons.json.JsonObject
Reads a JSON object from the given tokenizer.

D

decode(String) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Decode a Json string.
decodeQuoted(String) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Decode a quoted Json string.
defaultcomparator - Static variable in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
denotesCurrent(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
 
denotesParent(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
 
denotesRoot(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Whether the path is the root path ("/").
displayUsage() - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
dropIndexFromName(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Returns the given name without the possible SNS index suffix.

E

elements(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Returns an Iterable for the path elements.
encode(String) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Convert a string to a quoted Json literal using the correct escape sequences.
encodedValue(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append an already encoded value.
encodedValue(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
encodedValue(String) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append an already encoded value.
END - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type that signals the end of the stream.
endArray() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append ']'.
endArray() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
endArray() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append ']'.
endObject() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append '}'.
endObject() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
endObject() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append '}'.
ERROR - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of a parse error.
escape(String, int, StringBuilder) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Escape a string into the target buffer.
estimateBestSizeOfBlocks(File, int) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
estimatedSizeOf(String) - Static method in class org.apache.jackrabbit.oak.commons.sort.StringSizeEstimator
Estimates the size of a String object in bytes.
ExternalSort - Class in org.apache.jackrabbit.oak.commons.sort
Source copied from a publicly available library.
ExternalSort() - Constructor for class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 

F

FALSE - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of the value "false".

G

get(K) - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
getAncestorPath(String, int) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Get the nth ancestor of a path.
getChildren() - Method in class org.apache.jackrabbit.oak.commons.json.JsonObject
 
getDepth(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Calculate the number of elements in the path.
getEscapedToken() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Get the last encoded (raw) string, including escape sequences.
getLastPos() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
getMemory() - Method in interface org.apache.jackrabbit.oak.commons.cache.Cache.Value
Get the memory required in bytes.
getMemoryMax() - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
getMemoryUsed() - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
getName(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Get the last element of the (absolute or relative) path.
getNextSlash(String, int) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Get the index of the next slash.
getParentPath(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Get the parent of a path.
getPos() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
getProperties() - Method in class org.apache.jackrabbit.oak.commons.json.JsonObject
 
getToken() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Get the last token value if the the token type was STRING or NUMBER.
getToken() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
getToken() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Get the last token value if the the token type was STRING or NUMBER.
getTokenType() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Get the token type of the last token.
getTokenType() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
getTokenType() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Get the token type of the last token.

I

IDENTIFIER - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of an identifier (an unquoted string), if supported by the reader.
IOUtils - Class in org.apache.jackrabbit.oak.commons
Input/output utility methods.
isAbsolute(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Whether the path is absolute (starts with a slash) or not.
isAncestor(String, String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Check if a path is a (direct or indirect) ancestor of another path.
isValid(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Check if the path is valid.

J

JsonObject - Class in org.apache.jackrabbit.oak.commons.json
Simple JSON Object representation
JsonObject() - Constructor for class org.apache.jackrabbit.oak.commons.json.JsonObject
 
JsopBuilder - Class in org.apache.jackrabbit.oak.commons.json
A builder for Json and Jsop strings.
JsopBuilder() - Constructor for class org.apache.jackrabbit.oak.commons.json.JsopBuilder
 
JsopReader - Interface in org.apache.jackrabbit.oak.commons.json
A reader for Json and Jsop strings.
JsopStream - Class in org.apache.jackrabbit.oak.commons.json
A fast Jsop writer / reader.
JsopStream() - Constructor for class org.apache.jackrabbit.oak.commons.json.JsopStream
 
JsopTokenizer - Class in org.apache.jackrabbit.oak.commons.json
A tokenizer for Json and Jsop strings.
JsopTokenizer(String, int) - Constructor for class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
JsopTokenizer(String) - Constructor for class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
JsopWriter - Interface in org.apache.jackrabbit.oak.commons.json
A builder for Json and Json diff strings.

K

key(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append the key (in quotes) plus a colon.
key(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
key(String) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append the key (in quotes) plus a colon.

L

length() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Get the buffer length.
load(K) - Method in interface org.apache.jackrabbit.oak.commons.cache.Cache.Backend
Load the object.

M

main(String[]) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
matches(int) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Read a token which must match a given token type.
matches(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
matches(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a token which must match a given token type.
merge(BufferedWriter, Comparator<String>, boolean, List<BinaryFileBuffer>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges several BinaryFileBuffer to an output writer.
mergeSortedFiles(List<File>, File) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>, Charset, boolean, boolean, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>, Charset, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files
mergeSortedFiles(List<File>, File, Comparator<String>, Charset) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This merges a bunch of temporary flat files

N

newInstance(Cache.Backend<K, V>, int) - Static method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
newline() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append a newline character.
newline() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
newline() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append a newline character.
nextPowerOf2(int) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Get the value that is equal or higher than this value, and that is a power of two.
NULL - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of "null".
NUMBER - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of a number value.

O

object() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append '{'.
object() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
object() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append '{'.
org.apache.jackrabbit.oak.commons - package org.apache.jackrabbit.oak.commons
 
org.apache.jackrabbit.oak.commons.cache - package org.apache.jackrabbit.oak.commons.cache
 
org.apache.jackrabbit.oak.commons.json - package org.apache.jackrabbit.oak.commons.json
 
org.apache.jackrabbit.oak.commons.sort - package org.apache.jackrabbit.oak.commons.sort
 

P

PathUtils - Class in org.apache.jackrabbit.oak.commons
Utility methods to parse a path.
prettyPrint(String) - Static method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Beautify (format) the json / jsop string.
put(K, V) - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 

R

read(int) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Read a token which must match a given token type.
read() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Read a token and return the token type.
read(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
read() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
read(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a token which must match a given token type.
read() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a token and return the token type.
readBytes(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a byte array.
readFully(InputStream, byte[], int, int) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Try to read the given number of bytes to the buffer.
readInt(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read an integer (4 bytes).
readLong(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a long (8 bytes).
readRawValue() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Return the row (escaped) token.
readRawValue() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
readRawValue() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a value and return the raw Json representation.
readString(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a String.
readString() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Read a string.
readString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
readString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
Read a string.
readVarInt(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a variable size integer.
readVarLong(InputStream) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Read a variable size long.
relativize(String, String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Relativize a path wrt.
replace(K, V) - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
Get the element in the cache if one exists, or add it to the cache if not.
resetReader() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopReader
Reset the position to 0, so that to restart reading.
resetReader() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
resetReader() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
resetWriter() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Resets this instance.
resetWriter() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
resetWriter() - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Resets this instance, so that all data is discarded.

S

setLineLength(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
 
setLineLength(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
setLineLength(int) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Set the line length, after which a newline is added (to improve readability).
setPos(int) - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
size() - Method in class org.apache.jackrabbit.oak.commons.cache.Cache
 
skipFully(InputStream, long) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Skip a number of bytes in an input stream.
sort(File, File) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
 
sortAndSave(List<String>, Comparator<String>, Charset, File, boolean, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
Sort a list and save it to a temporary file
sortAndSave(List<String>, Comparator<String>, Charset, File) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
Sort a list and save it to a temporary file
sortInBatch(File) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(File, Comparator<String>) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(File, Comparator<String>, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(File, Comparator<String>, int, Charset, File, boolean, int, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
sortInBatch(File, Comparator<String>, int, Charset, File, boolean) - Static method in class org.apache.jackrabbit.oak.commons.sort.ExternalSort
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
STRING - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of a string value.
StringSizeEstimator - Class in org.apache.jackrabbit.oak.commons.sort
Source copied from a publicly available library.
StringUtils - Class in org.apache.jackrabbit.oak.commons
Some string utility methods.
StringUtils() - Constructor for class org.apache.jackrabbit.oak.commons.StringUtils
 

T

tag(char) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append a Jsop tag character.
tag(char) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
tag(char) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append a Jsop tag character.
toJson(JsopBuilder) - Method in class org.apache.jackrabbit.oak.commons.json.JsonObject
 
toString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Get the generated string.
toString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
toString() - Method in class org.apache.jackrabbit.oak.commons.json.JsopTokenizer
 
TRUE - Static variable in interface org.apache.jackrabbit.oak.commons.json.JsopReader
The token type of the value "true".

V

validate(String) - Static method in class org.apache.jackrabbit.oak.commons.PathUtils
Check if the path is valid, and throw an IllegalArgumentException if not.
value(long) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append a number.
value(boolean) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append the boolean value 'true' or 'false'.
value(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopBuilder
Append a string or null.
value(String) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
value(long) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
value(boolean) - Method in class org.apache.jackrabbit.oak.commons.json.JsopStream
 
value(String) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append a string or null.
value(long) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append a number.
value(boolean) - Method in interface org.apache.jackrabbit.oak.commons.json.JsopWriter
Append the boolean value 'true' or 'false'.

W

writeBytes(OutputStream, byte[]) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a byte array.
writeInt(OutputStream, int) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write an integer (4 bytes).
writeLong(OutputStream, long) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a long (8 bytes).
writeString(OutputStream, String) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a String.
writeVarInt(OutputStream, int) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a variable size integer.
writeVarLong(OutputStream, long) - Static method in class org.apache.jackrabbit.oak.commons.IOUtils
Write a variable size long.
A C D E F G I J K L M N O P R S T V W 

Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.