Index

A B C D E F G H I L M N O P R S T U Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractCommandLineApp<C extends io.dropwizard.core.Configuration> - Class in nl.knaw.dans.lib.util
 
AbstractCommandLineApp() - Constructor for class nl.knaw.dans.lib.util.AbstractCommandLineApp
 
apiClient(A) - Method in class nl.knaw.dans.lib.util.ClientProxyBuilder
 
assertDirectoriesEqual(Path, Path) - Static method in class nl.knaw.dans.lib.util.TestUtils
 
available() - Method in class nl.knaw.dans.lib.util.ProcessInputStream
 

B

basePath(URI) - Method in class nl.knaw.dans.lib.util.ClientProxyBuilder
 
build() - Method in class nl.knaw.dans.lib.util.ClientProxyBuilder
 
build() - Method in class nl.knaw.dans.lib.util.DataverseClientFactory
 
build(Environment) - Method in class nl.knaw.dans.lib.util.ExecutorServiceFactory
 
build(Environment, String) - Method in class nl.knaw.dans.lib.util.DataverseClientFactory
 
build(Environment, String, String) - Method in class nl.knaw.dans.lib.util.DataverseClientFactory
 

C

call() - Method in class nl.knaw.dans.lib.util.AbstractCommandLineApp
 
check() - Method in class nl.knaw.dans.lib.util.DataverseHealthCheck
 
check() - Method in class nl.knaw.dans.lib.util.PingHealthCheck
 
childOf(Path) - Static method in class nl.knaw.dans.lib.util.CustomFileFilters
 
ClientProxyBuilder<A,D> - Class in nl.knaw.dans.lib.util
Builder for creating a client proxy for an API endpoint.
ClientProxyBuilder() - Constructor for class nl.knaw.dans.lib.util.ClientProxyBuilder
 
close() - Method in class nl.knaw.dans.lib.util.ProcessInputStream
Closes the input stream and ensures that the process exited successfully.
compare(Path, Path) - Method in class nl.knaw.dans.lib.util.CreationTimestampComparator
 
compare(Path, Path) - Method in class nl.knaw.dans.lib.util.PropertiesBasedDirectoryComparator
 
CONFIG_FILE_KEY - Static variable in class nl.knaw.dans.lib.util.AbstractCommandLineApp
 
configureCommandLine(CommandLine, C) - Method in class nl.knaw.dans.lib.util.AbstractCommandLineApp
 
createInboxTask(Path) - Method in interface nl.knaw.dans.lib.util.inbox.InboxTaskFactory
 
createQuery(CriteriaQuery<T>) - Method in interface nl.knaw.dans.lib.util.PersistenceProvider
Creates a query from the given CriteriaQuery.
createQuery(CriteriaQuery<T>) - Method in class nl.knaw.dans.lib.util.PersistenceProviderImpl
 
CreationTimestampComparator - Class in nl.knaw.dans.lib.util
 
CreationTimestampComparator() - Constructor for class nl.knaw.dans.lib.util.CreationTimestampComparator
 
CustomFileFilters - Class in nl.knaw.dans.lib.util
 
CustomFileFilters() - Constructor for class nl.knaw.dans.lib.util.CustomFileFilters
 

D

DataverseClientFactory - Class in nl.knaw.dans.lib.util
 
DataverseClientFactory() - Constructor for class nl.knaw.dans.lib.util.DataverseClientFactory
 
DataverseHealthCheck - Class in nl.knaw.dans.lib.util
 
DataverseHealthCheck(DataverseClient) - Constructor for class nl.knaw.dans.lib.util.DataverseHealthCheck
 
defaultApiCtor(Function<A, D>) - Method in class nl.knaw.dans.lib.util.ClientProxyBuilder
 
DefaultMediaTypeFilter - Class in nl.knaw.dans.lib.util
A filter that sets the default media type if the client accepts any media type.
DefaultMediaTypeFilter() - Constructor for class nl.knaw.dans.lib.util.DefaultMediaTypeFilter
 
DefaultMediaTypeFilter(String) - Constructor for class nl.knaw.dans.lib.util.DefaultMediaTypeFilter
 
delete(E) - Method in interface nl.knaw.dans.lib.util.PersistenceProvider
Deletes the entity from the current session.
delete(E) - Method in class nl.knaw.dans.lib.util.PersistenceProviderImpl
 

E

EXAMPLE_CONFIG_FILE_KEY - Static variable in class nl.knaw.dans.lib.util.AbstractCommandLineApp
Path from which an example configuration file can be loaded, to be instantiated with the default configuration, if no configuration file is found.
ExecutorServiceFactory - Class in nl.knaw.dans.lib.util
Factory for configuring and creating an ExecutorService in a DropWizard application.
ExecutorServiceFactory() - Constructor for class nl.knaw.dans.lib.util.ExecutorServiceFactory
 
extractZipFile(Path, Path) - Static method in class nl.knaw.dans.lib.util.ZipUtil
 

F

filter(ContainerRequestContext, ContainerResponseContext) - Method in class nl.knaw.dans.lib.util.DefaultMediaTypeFilter
 
fromString(String) - Static method in class nl.knaw.dans.lib.util.UrnUuid
 
fromUri(URI) - Static method in class nl.knaw.dans.lib.util.UrnUuid
 

G

get(Long) - Method in interface nl.knaw.dans.lib.util.PersistenceProvider
Retrieves the entity with the given id from the current session.
get(Long) - Method in class nl.knaw.dans.lib.util.PersistenceProviderImpl
 
getCriteriaBuilder() - Method in interface nl.knaw.dans.lib.util.PersistenceProvider
Returns the CriteriaBuilder for the current session.
getCriteriaBuilder() - Method in class nl.knaw.dans.lib.util.PersistenceProviderImpl
 
getName() - Method in class nl.knaw.dans.lib.util.AbstractCommandLineApp
 
getUuid() - Method in class nl.knaw.dans.lib.util.UrnUuid
 
getVersion() - Method in class nl.knaw.dans.lib.util.PicocliVersionProvider
 

H

hasNext() - Method in class nl.knaw.dans.lib.util.PathIterator
 
httpClient(JerseyClientConfiguration) - Method in class nl.knaw.dans.lib.util.ClientProxyBuilder
 

I

Inbox - Class in nl.knaw.dans.lib.util.inbox
A managed inbox that monitors a directory for new files and directories, processes them using a provided task factory, and allows for custom file filtering.
InboxTaskFactory - Interface in nl.knaw.dans.lib.util.inbox
 
IntegrationTestAfterUnitTestClassOrderer - Class in nl.knaw.dans.lib.util
The integration tests mess up the logging facilities for the unit tests, so we run the integration tests after the unit test This requires every integration test to end with "IntegrationTest"
IntegrationTestAfterUnitTestClassOrderer() - Constructor for class nl.knaw.dans.lib.util.IntegrationTestAfterUnitTestClassOrderer
 

L

load() - Method in class nl.knaw.dans.lib.util.MappingLoader
 
loadConfiguration(File) - Method in class nl.knaw.dans.lib.util.AbstractCommandLineApp
 

M

MappingLoader - Class in nl.knaw.dans.lib.util
Loads a mapping from a CSV file.
MappingLoader() - Constructor for class nl.knaw.dans.lib.util.MappingLoader
 
mark(int) - Method in class nl.knaw.dans.lib.util.ProcessInputStream
 
markSupported() - Method in class nl.knaw.dans.lib.util.ProcessInputStream
 
MAX_BYTES_ERROR_SNIPPET - Static variable in class nl.knaw.dans.lib.util.ProcessInputStream
 

N

next() - Method in class nl.knaw.dans.lib.util.PathIterator
 
nl.knaw.dans.lib.util - package nl.knaw.dans.lib.util
 
nl.knaw.dans.lib.util.inbox - package nl.knaw.dans.lib.util.inbox
 

O

onDirectoryCreate(File) - Method in class nl.knaw.dans.lib.util.inbox.Inbox
 
onFileCreate(File) - Method in class nl.knaw.dans.lib.util.inbox.Inbox
 
onStart(FileAlterationObserver) - Method in class nl.knaw.dans.lib.util.inbox.Inbox
 
onStop(FileAlterationObserver) - Method in class nl.knaw.dans.lib.util.inbox.Inbox
 
orderClasses(ClassOrdererContext) - Method in class nl.knaw.dans.lib.util.IntegrationTestAfterUnitTestClassOrderer
 

P

PathIterator - Class in nl.knaw.dans.lib.util
Turns an iterator of Files into an iterator of Paths and provides a count of the number of iterated paths so far.
PathIterator() - Constructor for class nl.knaw.dans.lib.util.PathIterator
 
PathIteratorZipper - Class in nl.knaw.dans.lib.util
Zips files from an iterator of paths into a zip file up to a maximum number of files and bytes (the first limit reached).
PathIteratorZipper() - Constructor for class nl.knaw.dans.lib.util.PathIteratorZipper
 
persist(E) - Method in interface nl.knaw.dans.lib.util.PersistenceProvider
Performs a saveOrUpdate in the current session.
persist(E) - Method in class nl.knaw.dans.lib.util.PersistenceProviderImpl
 
PersistenceProvider<E> - Interface in nl.knaw.dans.lib.util
 
PersistenceProviderImpl<E> - Class in nl.knaw.dans.lib.util
 
PersistenceProviderImpl(SessionFactory, Class<E>) - Constructor for class nl.knaw.dans.lib.util.PersistenceProviderImpl
 
PicocliVersionProvider - Class in nl.knaw.dans.lib.util
Picocli version provider, that reads the version from the manifest file.
PicocliVersionProvider() - Constructor for class nl.knaw.dans.lib.util.PicocliVersionProvider
 
PingHealthCheck - Class in nl.knaw.dans.lib.util
Health check for a service that responds to a ping request with "pong".
PingHealthCheck() - Constructor for class nl.knaw.dans.lib.util.PingHealthCheck
 
ProcessInputStream - Class in nl.knaw.dans.lib.util
 
PropertiesBasedDirectoryComparator<T extends Comparable<T>> - Class in nl.knaw.dans.lib.util
 
PropertiesBasedDirectoryComparator() - Constructor for class nl.knaw.dans.lib.util.PropertiesBasedDirectoryComparator
 

R

read() - Method in class nl.knaw.dans.lib.util.ProcessInputStream
 
read(byte[]) - Method in class nl.knaw.dans.lib.util.ProcessInputStream
 
read(byte[], int, int) - Method in class nl.knaw.dans.lib.util.ProcessInputStream
 
reset() - Method in class nl.knaw.dans.lib.util.ProcessInputStream
 
run(String[]) - Method in class nl.knaw.dans.lib.util.AbstractCommandLineApp
 

S

skip(long) - Method in class nl.knaw.dans.lib.util.ProcessInputStream
 
start() - Method in class nl.knaw.dans.lib.util.inbox.Inbox
 
start(CommandLine) - Static method in class nl.knaw.dans.lib.util.ProcessInputStream
Starts the given command and returns an InputStream that: streams the process stdout; throws an IOException if the process exits non-zero or fails to start.
start(CommandLine, int...) - Static method in class nl.knaw.dans.lib.util.ProcessInputStream
Starts the given command and returns an InputStream that: streams the process stdout; throws an IOException if the process exits non-zero or fails to start.
start(CommandLine, File, Duration, int...) - Static method in class nl.knaw.dans.lib.util.ProcessInputStream
Starts the given command with an optional working directory and timeout, returning an InputStream that: streams the process stdout; and treats the provided exit codes as success (all others trigger IOException).
stop() - Method in class nl.knaw.dans.lib.util.inbox.Inbox
 
subDirectoryOf(Path) - Static method in class nl.knaw.dans.lib.util.CustomFileFilters
 

T

TestUtils - Class in nl.knaw.dans.lib.util
 
TestUtils() - Constructor for class nl.knaw.dans.lib.util.TestUtils
 
toASCIIString() - Method in class nl.knaw.dans.lib.util.UrnUuid
 
toString() - Method in class nl.knaw.dans.lib.util.UrnUuid
 

U

update(E) - Method in interface nl.knaw.dans.lib.util.PersistenceProvider
Updates the entity in the current session.
update(E) - Method in class nl.knaw.dans.lib.util.PersistenceProviderImpl
 
UrnUuid - Class in nl.knaw.dans.lib.util
 
UrnUuid() - Constructor for class nl.knaw.dans.lib.util.UrnUuid
 

Z

zip() - Method in class nl.knaw.dans.lib.util.PathIteratorZipper
Zips files from the source iterator into the target zip file.
zipDirectory(Path, Path, boolean) - Static method in class nl.knaw.dans.lib.util.ZipUtil
 
ZipUtil - Class in nl.knaw.dans.lib.util
 
ZipUtil() - Constructor for class nl.knaw.dans.lib.util.ZipUtil
 
A B C D E F G H I L M N O P R S T U Z 
All Classes and Interfaces|All Packages|Constant Field Values