Index

A B C D E F G H I K L M N O P R S T V W 
All Classes and Interfaces|All Packages|Serialized Form

A

add(int, E) - Method in class org.sejda.commons.collection.CircularLinkedList
 
add(E) - Method in class org.sejda.commons.collection.CircularLinkedList
 
add(E) - Method in class org.sejda.commons.collection.NullSafeSet
Adds the input element if it's not null.
addAll(int, Collection<? extends E>) - Method in class org.sejda.commons.collection.CircularLinkedList
 
addAll(Collection<? extends E>) - Method in class org.sejda.commons.collection.CircularLinkedList
 
addAll(Collection<? extends E>) - Method in class org.sejda.commons.collection.NullSafeSet
 
addFirst(E) - Method in class org.sejda.commons.collection.CircularLinkedList
 
addLast(E) - Method in class org.sejda.commons.collection.CircularLinkedList
 
addLookupEntry(I, I) - Method in class org.sejda.commons.LookupTable
Adds a lookup entry.
asUnicodes(String) - Static method in class org.sejda.commons.util.StringUtils
 

B

borrow() - Method in class org.sejda.commons.Pool
 

C

CircularLinkedList<E> - Class in org.sejda.commons.collection
A LinkedList with size constraints.
CircularLinkedList(int) - Constructor for class org.sejda.commons.collection.CircularLinkedList
 
clear() - Method in class org.sejda.commons.collection.ListValueMap
Removes all the elements form the map
clear() - Method in class org.sejda.commons.collection.NullSafeSet
 
clear() - Method in class org.sejda.commons.LookupTable
 
close() - Method in class org.sejda.commons.FastByteArrayOutputStream
 
close(Closeable) - Static method in class org.sejda.commons.util.IOUtils
Null safe close of the given Closeable.
closeQuietly(Closeable) - Static method in class org.sejda.commons.util.IOUtils
Null safe close of the given Closeable suppressing any exception.
closeQuietly(Closeable, Consumer<IOException>) - Static method in class org.sejda.commons.util.IOUtils
Null safe close of the given Closeable handing the potential exception to the given consumer
compare(File, File) - Method in class org.sejda.commons.util.NumericalSortFilenameComparator
 
contains(Object) - Method in class org.sejda.commons.collection.NullSafeSet
 
containsAll(Collection<?>) - Method in class org.sejda.commons.collection.NullSafeSet
 
copy(InputStream, OutputStream) - Static method in class org.sejda.commons.util.IOUtils
Copy the input stream data to the output stream

D

difference(String, String) - Static method in class org.sejda.commons.util.StringUtils
 

E

either(Function<? super A, ? extends C>, Function<? super B, ? extends C>) - Method in class org.sejda.commons.Either
 
Either<A,B> - Class in org.sejda.commons
 
equals(Object) - Method in class org.sejda.commons.collection.NullSafeSet
 

F

FastByteArrayOutputStream - Class in org.sejda.commons
A speedy alternative to ByteArrayOutputStream.
FastByteArrayOutputStream() - Constructor for class org.sejda.commons.FastByteArrayOutputStream
Create a new FastByteArrayOutputStream with the default initial capacity of 256 bytes.
FastByteArrayOutputStream(int) - Constructor for class org.sejda.commons.FastByteArrayOutputStream
Create a new FastByteArrayOutputStream with the specified initial capacity.
findField(Class<?>, String) - Static method in class org.sejda.commons.util.ReflectionUtils
Attempt to find a field on the supplied Class with the supplied name.
findField(Class<?>, String, Class<?>) - Static method in class org.sejda.commons.util.ReflectionUtils
Attempt to find a field on the supplied Class with the supplied name and/or type.
first() - Method in class org.sejda.commons.LookupTable
 
fromLeft() - Method in class org.sejda.commons.Either
 
fromRight() - Method in class org.sejda.commons.Either
 

G

get(K) - Method in class org.sejda.commons.collection.ListValueMap
A null safe getter for the given key.
getField(Field, Object) - Static method in class org.sejda.commons.util.ReflectionUtils
Get the field represented by the supplied field object on the specified target object.
getInputStream() - Method in class org.sejda.commons.FastByteArrayOutputStream
Get an InputStream to retrieve the data in this OutputStream.
getMaxCapacity() - Method in class org.sejda.commons.collection.CircularLinkedList
 
give(T) - Method in class org.sejda.commons.Pool
Returns the object to the pool

H

handleInvocationTargetException(InvocationTargetException) - Static method in class org.sejda.commons.util.ReflectionUtils
Handle the given invocation target exception.
handleReflectionException(Exception) - Static method in class org.sejda.commons.util.ReflectionUtils
Handle the given reflection exception.
hashCode() - Method in class org.sejda.commons.collection.NullSafeSet
 
hasLookupFor(I) - Method in class org.sejda.commons.LookupTable
 

I

inferParameterClass(Class, String) - Static method in class org.sejda.commons.util.ReflectionUtils
Given a concrete class and a method name, it tries to infer the Class of the first parameter of the method
IOUtils - Class in org.sejda.commons.util
Utility class with I/O related static methods
isEmpty() - Method in class org.sejda.commons.collection.NullSafeSet
 
isEmpty() - Method in class org.sejda.commons.LookupTable
 
isEmpty(CharSequence) - Static method in class org.sejda.commons.util.StringUtils
 
isFull() - Method in class org.sejda.commons.collection.CircularLinkedList
 
isNotEmpty(CharSequence) - Static method in class org.sejda.commons.util.StringUtils
 
iterator() - Method in class org.sejda.commons.collection.NullSafeSet
 

K

keys() - Method in class org.sejda.commons.LookupTable
 

L

left(A) - Static method in class org.sejda.commons.Either
 
ListValueMap<K,V> - Class in org.sejda.commons.collection
Map where the elements added to the same key are enqueued in a List.
ListValueMap() - Constructor for class org.sejda.commons.collection.ListValueMap
 
lookup(I) - Method in class org.sejda.commons.LookupTable
Looks up the item that correspond to the given one
LookupTable<I> - Class in org.sejda.commons
Component that allows to set up a lookup relation between items of the same type.
LookupTable() - Constructor for class org.sejda.commons.LookupTable
 
LRUMap<K,V> - Class in org.sejda.commons.collection
Fixed size Map implementation removing the least recently used element when Map.put(Object, Object) is called.
LRUMap(int) - Constructor for class org.sejda.commons.collection.LRUMap
 

M

makeAccessible(Field) - Static method in class org.sejda.commons.util.ReflectionUtils
Make the given field accessible, explicitly setting it accessible if necessary.

N

normalizeLineEndings(String) - Static method in class org.sejda.commons.util.StringUtils
 
normalizeWhitespace(String) - Static method in class org.sejda.commons.util.StringUtils
 
NullSafeSet<E> - Class in org.sejda.commons.collection
LinkedHashSet wrapper disallowing null elements.
NullSafeSet() - Constructor for class org.sejda.commons.collection.NullSafeSet
 
NullSafeSet(Set<E>) - Constructor for class org.sejda.commons.collection.NullSafeSet
 
NumericalSortFilenameComparator - Class in org.sejda.commons.util
Comparator for filenames that performs a numerical sort if the file names start or end with digits.
NumericalSortFilenameComparator() - Constructor for class org.sejda.commons.util.NumericalSortFilenameComparator
Comparator performing numerical sort with fallback to file name case-insensitive compare in case numerical sort fails
NumericalSortFilenameComparator(Comparator<File>) - Constructor for class org.sejda.commons.util.NumericalSortFilenameComparator
 

O

onGive(Consumer<T>) - Method in class org.sejda.commons.Pool
Configure the pool to apply the given consumer to returned objects.
org.sejda.commons - module org.sejda.commons
 
org.sejda.commons - package org.sejda.commons
 
org.sejda.commons.collection - package org.sejda.commons.collection
 
org.sejda.commons.util - package org.sejda.commons.util
 

P

Pool<T> - Class in org.sejda.commons
A simple object pool implementation.
Pool(Supplier<T>, int) - Constructor for class org.sejda.commons.Pool
 
put(K, V) - Method in class org.sejda.commons.collection.ListValueMap
Adds the input value to the List associated to the input key

R

ReflectionUtils - Class in org.sejda.commons.util
Simple utility class for working with the reflection API and handling reflection exceptions.
remove(Object) - Method in class org.sejda.commons.collection.NullSafeSet
 
remove(K, V) - Method in class org.sejda.commons.collection.ListValueMap
Removes the input value from the List associated to the input key.
removeAll(Collection<?>) - Method in class org.sejda.commons.collection.NullSafeSet
 
removeEldestEntry(Map.Entry<K, V>) - Method in class org.sejda.commons.collection.LRUMap
 
require(boolean, Supplier<? extends E>) - Static method in class org.sejda.commons.util.RequireUtils
Throws the Exception supplied by the supplier in case the condition is not met
requireArg(boolean, String) - Static method in class org.sejda.commons.util.RequireUtils
Throws an IllegalArgumentException if the given condition is not met
requireIOCondition(boolean, String) - Static method in class org.sejda.commons.util.RequireUtils
Throws an IOException if the given condition is not met
requireNotBlank(String, String) - Static method in class org.sejda.commons.util.RequireUtils
Throws an IllegalArgumentException if the given string is blank
requireNotNegative(int) - Static method in class org.sejda.commons.util.RequireUtils
Throws an IllegalArgumentException if the input value is a negative integer
requireNotNullArg(Object, String) - Static method in class org.sejda.commons.util.RequireUtils
Throws an IllegalArgumentException if the given argument is null
requireState(boolean, String) - Static method in class org.sejda.commons.util.RequireUtils
Throws an IllegalStateException if the given condition is not met
RequireUtils - Class in org.sejda.commons.util
Utility methods to check parameters and conditions validity.
reset() - Method in class org.sejda.commons.FastByteArrayOutputStream
Reset the contents of this FastByteArrayOutputStream.
resize(int) - Method in class org.sejda.commons.FastByteArrayOutputStream
Resize the internal buffer size to a specified capacity.
retainAll(Collection<?>) - Method in class org.sejda.commons.collection.NullSafeSet
 
rethrowRuntimeException(Throwable) - Static method in class org.sejda.commons.util.ReflectionUtils
Rethrow the given exception, which is presumably the target exception of an InvocationTargetException.
right(B) - Static method in class org.sejda.commons.Either
 

S

setMaxCapacity(int) - Method in class org.sejda.commons.collection.CircularLinkedList
 
size() - Method in class org.sejda.commons.collection.ListValueMap
 
size() - Method in class org.sejda.commons.collection.NullSafeSet
 
size() - Method in class org.sejda.commons.FastByteArrayOutputStream
Return the number of bytes stored in this FastByteArrayOutputStream.
StringUtils - Class in org.sejda.commons.util
 

T

toArray() - Method in class org.sejda.commons.collection.NullSafeSet
 
toArray(T[]) - Method in class org.sejda.commons.collection.NullSafeSet
 
toByteArray() - Method in class org.sejda.commons.FastByteArrayOutputStream
 
toByteArray(InputStream) - Static method in class org.sejda.commons.util.IOUtils
 
toByteArraySafe() - Method in class org.sejda.commons.FastByteArrayOutputStream
Creates a newly allocated byte array.
toByteArrayUnsafe() - Method in class org.sejda.commons.FastByteArrayOutputStream
Convert the stream's data to a byte array and return the byte array.
toString() - Method in class org.sejda.commons.collection.NullSafeSet
 
toString() - Method in class org.sejda.commons.FastByteArrayOutputStream
Convert the buffer's contents into a string decoding bytes using the platform's default character set.

V

values() - Method in class org.sejda.commons.LookupTable
 

W

write(byte[], int, int) - Method in class org.sejda.commons.FastByteArrayOutputStream
 
write(int) - Method in class org.sejda.commons.FastByteArrayOutputStream
 
writeTo(OutputStream) - Method in class org.sejda.commons.FastByteArrayOutputStream
Write the buffers content to the given OutputStream.
A B C D E F G H I K L M N O P R S T V W 
All Classes and Interfaces|All Packages|Serialized Form