Index

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

A

addChild(String) - Method in class nva.commons.core.paths.UnixPath
 
addChild(String...) - Method in class nva.commons.core.paths.UriWrapper
 
addChild(UnixPath) - Method in class nva.commons.core.paths.UnixPath
 
addChild(UnixPath) - Method in class nva.commons.core.paths.UriWrapper
Appends a path to the URI.
addQueryParameter(String, String) - Method in class nva.commons.core.paths.UriWrapper
 
addQueryParameters(Map<String, String>) - Method in class nva.commons.core.paths.UriWrapper
 
addRoot() - Method in class nva.commons.core.paths.UnixPath
 
apply(T) - Method in interface nva.commons.core.attempt.FunctionWithException
 
attempt(Callable<S>) - Static method in class nva.commons.core.attempt.Try
A wrapper for actions that throw checked Exceptions.
attempt(FunctionWithException<T, R, E>) - Static method in class nva.commons.core.attempt.Try
A wrapper for functions that throw checked Exceptions.

B

build() - Method in class nva.commons.core.useragent.UserAgent.UserAgentBuilder
Builds the UserAgent.

C

client(Class<?>) - Method in class nva.commons.core.useragent.UserAgent.UserAgentBuilder
The class that is calling, typically the Handler class that initiates the call.
collect() - Static method in class nva.commons.core.SingletonCollector
A utility to collect and return singletons from lists.
collectOrElse(T) - Static method in class nva.commons.core.SingletonCollector
Returns the single expected value in the Stream or the alternative if nothing was found.
consume(T) - Method in interface nva.commons.core.attempt.ConsumerWithException
 
ConsumerWithException<T,E extends Exception> - Interface in nva.commons.core.attempt
 

D

DEFAULT_BATCH_SIZE - Static variable in class nva.commons.core.parallel.ParallelMapper
 
DOUBLE_WHITESPACE - Static variable in class nva.commons.core.StringUtils
 

E

email(String) - Method in class nva.commons.core.useragent.UserAgent.UserAgentBuilder
The contact email (typically support@somewhere) that recipients can contact in case of an issue.
EMPTY_FRAGMENT - Static variable in class nva.commons.core.paths.UriWrapper
 
EMPTY_PATH - Static variable in class nva.commons.core.paths.UnixPath
 
EMPTY_PATH - Static variable in class nva.commons.core.paths.UriWrapper
 
EMPTY_QUERY - Static variable in class nva.commons.core.paths.UriWrapper
 
EMPTY_STRING - Static variable in class nva.commons.core.StringUtils
 
EMPTY_USER_INFO - Static variable in class nva.commons.core.paths.UriWrapper
 
environment(String) - Method in class nva.commons.core.useragent.UserAgent.UserAgentBuilder
The environment that is calling, typically dev, test, sandbox, e2e or prod.
Environment - Class in nva.commons.core
 
Environment() - Constructor for class nva.commons.core.Environment
 
ENVIRONMENT_VARIABLE_NOT_SET - Static variable in class nva.commons.core.Environment
 
equals(Object) - Method in class nva.commons.core.attempt.Success
 
equals(Object) - Method in class nva.commons.core.paths.UnixPath
 
ERROR_MESSAGE - Static variable in exception nva.commons.core.ioutils.exceptions.ResourceNotFoundException
 
ERROR_MESSAGE_MISSING_RESOURCE_EXCEPTION - Static variable in class nva.commons.core.language.LanguageMapper
 
ExceptionUtils - Class in nva.commons.core.exceptions
 

F

Failure<T> - Class in nva.commons.core.attempt
 
Failure(Exception) - Constructor for class nva.commons.core.attempt.Failure
 
FILE_NOT_FOUND_MESSAGE - Static variable in exception nva.commons.core.ioutils.exceptions.FileNotFoundUncheckedException
 
FileNotFoundUncheckedException - Exception in nva.commons.core.ioutils.exceptions
 
FileNotFoundUncheckedException(Path, Exception) - Constructor for exception nva.commons.core.ioutils.exceptions.FileNotFoundUncheckedException
 
flatMap(FunctionWithException<T, Try<S>, E>) - Method in class nva.commons.core.attempt.Failure
 
flatMap(FunctionWithException<T, Try<S>, E>) - Method in class nva.commons.core.attempt.Success
 
flatMap(FunctionWithException<T, Try<S>, E>) - Method in class nva.commons.core.attempt.Try
 
forEach(ConsumerWithException<T, E>) - Method in class nva.commons.core.attempt.Failure
 
forEach(ConsumerWithException<T, E>) - Method in class nva.commons.core.attempt.Success
A wrapper for consumers that throw checked Exceptions.
forEach(ConsumerWithException<T, E>) - Method in class nva.commons.core.attempt.Try
 
fromHost(String) - Static method in class nva.commons.core.paths.UriWrapper
 
fromHost(String, int) - Static method in class nva.commons.core.paths.UriWrapper
 
fromString(String) - Static method in class nva.commons.core.paths.UnixPath
 
fromUri(String) - Static method in class nva.commons.core.paths.UriWrapper
 
fromUri(URI) - Static method in class nva.commons.core.paths.UriWrapper
 
FunctionWithException<T,R,E extends Exception> - Interface in nva.commons.core.attempt
 

G

get() - Method in class nva.commons.core.attempt.Failure
 
get() - Method in class nva.commons.core.attempt.Success
 
get() - Method in class nva.commons.core.attempt.Try
 
getException() - Method in class nva.commons.core.attempt.Failure
 
getException() - Method in class nva.commons.core.attempt.Success
 
getException() - Method in class nva.commons.core.attempt.Try
 
getExceptions() - Method in class nva.commons.core.parallel.ParallelMapper
 
getFilename() - Method in class nva.commons.core.paths.UnixPath
Deprecated.
getFilename() - Method in class nva.commons.core.paths.UriWrapper
Deprecated.
User getLastPathElement
getHost() - Method in class nva.commons.core.paths.UriWrapper
 
getInput() - Method in exception nva.commons.core.parallel.ParallelExecutionException
 
getLastPathElement() - Method in class nva.commons.core.paths.UnixPath
 
getLastPathElement() - Method in class nva.commons.core.paths.UriWrapper
 
getParent() - Method in class nva.commons.core.paths.UnixPath
 
getParent() - Method in class nva.commons.core.paths.UriWrapper
 
getPath() - Method in class nva.commons.core.paths.UriWrapper
 
getPathElementByIndexFromEnd(int) - Method in class nva.commons.core.paths.UnixPath
 
getSuccesses() - Method in class nva.commons.core.parallel.ParallelMapper
 
getUri() - Method in class nva.commons.core.paths.UriWrapper
 

H

hashCode() - Method in class nva.commons.core.attempt.Success
 
hashCode() - Method in class nva.commons.core.paths.UnixPath
 
HTTPS - Static variable in class nva.commons.core.paths.UriWrapper
 

I

inputStreamFromResources(String) - Static method in class nva.commons.core.ioutils.IoUtils
Read resource file as an InputStream.
inputStreamFromResources(Path) - Static method in class nva.commons.core.ioutils.IoUtils
Deprecated.
inputStreamToBytes(InputStream) - Static method in class nva.commons.core.ioutils.IoUtils
 
InvalidUserAgentException - Exception in nva.commons.core.useragent
 
InvalidUserAgentException(String) - Constructor for exception nva.commons.core.useragent.InvalidUserAgentException
 
IoUtils - Class in nva.commons.core.ioutils
 
IS02_TO_ISO3_CODES - Static variable in class nva.commons.core.language.LanguageMapper
 
isBlank(String) - Static method in class nva.commons.core.StringUtils
Checks if string input is blank or null.
isEmpty(String) - Static method in class nva.commons.core.StringUtils
Checks if string input is empty or null.
isEmptyPath() - Method in class nva.commons.core.paths.UnixPath
 
isFailure() - Method in class nva.commons.core.attempt.Try
 
isNotBlank(String) - Static method in class nva.commons.core.StringUtils
Checks if string is neither null or blank.
isNotEmpty(String) - Static method in class nva.commons.core.StringUtils
Checks if string is neither null or empty.
isRoot() - Method in class nva.commons.core.paths.UnixPath
 
isSuccess() - Method in class nva.commons.core.attempt.Failure
 
isSuccess() - Method in class nva.commons.core.attempt.Success
 
isSuccess() - Method in class nva.commons.core.attempt.Try
 

J

JacocoGenerated - Annotation Interface in nva.commons.core
 

L

LanguageMapper - Class in nva.commons.core.language
 
LEXVO_URI_PREFIX - Static variable in class nva.commons.core.language.LanguageMapper
 
LEXVO_URI_UNDEFINED - Static variable in class nva.commons.core.language.LanguageMapper
 
LINE_SEPARATOR - Static variable in class nva.commons.core.ioutils.IoUtils
 
linesfromResource(Path) - Static method in class nva.commons.core.ioutils.IoUtils
Read resource file as a List of Strings.

M

map() - Method in class nva.commons.core.parallel.ParallelMapper
 
map(FunctionWithException<T, S, E>) - Method in class nva.commons.core.attempt.Failure
 
map(FunctionWithException<T, S, E>) - Method in class nva.commons.core.attempt.Success
 
map(FunctionWithException<T, S, E>) - Method in class nva.commons.core.attempt.Try
 
MISSING_HOST - Static variable in class nva.commons.core.paths.UriWrapper
 

N

newBuilder() - Static method in class nva.commons.core.useragent.UserAgent
Creates a new UserAgentBuilder.
NULL_ACTION_MESSAGE - Static variable in class nva.commons.core.attempt.Try
 
NULL_INPUT_ERROR - Static variable in class nva.commons.core.paths.UriWrapper
 
NULL_VALUE_ERROR - Static variable in class nva.commons.core.useragent.UserAgent.UserAgentBuilder
 
nva.commons.core - package nva.commons.core
 
nva.commons.core.attempt - package nva.commons.core.attempt
 
nva.commons.core.exceptions - package nva.commons.core.exceptions
 
nva.commons.core.ioutils - package nva.commons.core.ioutils
 
nva.commons.core.ioutils.exceptions - package nva.commons.core.ioutils.exceptions
 
nva.commons.core.language - package nva.commons.core.language
 
nva.commons.core.parallel - package nva.commons.core.parallel
 
nva.commons.core.paths - package nva.commons.core.paths
 
nva.commons.core.useragent - package nva.commons.core.useragent
 

O

of(String...) - Static method in class nva.commons.core.paths.UnixPath
 
of(T) - Static method in class nva.commons.core.attempt.Try
 
ONLY_ELEMENT - Static variable in class nva.commons.core.SingletonCollector
 
or(Callable<T>) - Method in class nva.commons.core.attempt.Failure
 
or(Callable<T>) - Method in class nva.commons.core.attempt.Success
 
or(Callable<T>) - Method in class nva.commons.core.attempt.Try
 
orElse(FunctionWithException<Failure<T>, T, E>) - Method in class nva.commons.core.attempt.Failure
 
orElse(FunctionWithException<Failure<T>, T, E>) - Method in class nva.commons.core.attempt.Success
 
orElse(FunctionWithException<Failure<T>, T, E>) - Method in class nva.commons.core.attempt.Try
 
orElseThrow() - Method in class nva.commons.core.attempt.Failure
 
orElseThrow() - Method in class nva.commons.core.attempt.Success
 
orElseThrow() - Method in class nva.commons.core.attempt.Try
 
orElseThrow(RuntimeException) - Method in class nva.commons.core.attempt.Try
 
orElseThrow(Function<Failure<T>, E>) - Method in class nva.commons.core.attempt.Failure
 
orElseThrow(Function<Failure<T>, E>) - Method in class nva.commons.core.attempt.Success
 
orElseThrow(Function<Failure<T>, E>) - Method in class nva.commons.core.attempt.Try
 

P

ParallelExecutionException - Exception in nva.commons.core.parallel
 
ParallelExecutionException(Object, Exception) - Constructor for exception nva.commons.core.parallel.ParallelExecutionException
 
ParallelMapper<I,O> - Class in nva.commons.core.parallel
ParallelMapper is a mapper for processing multiple items where the processing of each input item uses a lot of time but few resources (e.g.
ParallelMapper(Collection<I>, Function<I, O>) - Constructor for class nva.commons.core.parallel.ParallelMapper
 
ParallelMapper(Collection<I>, Function<I, O>, int) - Constructor for class nva.commons.core.parallel.ParallelMapper
 
ParallelMapper(Stream<I>, Function<I, O>) - Constructor for class nva.commons.core.parallel.ParallelMapper
 
ParallelMapper(Stream<I>, Function<I, O>, int) - Constructor for class nva.commons.core.parallel.ParallelMapper
 
PATH_DELIMITER - Static variable in class nva.commons.core.paths.UnixPath
 
PATH_SEPARATOR_FOR_RESOURCES - Static variable in class nva.commons.core.ioutils.IoUtils
 
pathToString(Path) - Static method in class nva.commons.core.ioutils.IoUtils
 

R

readEnv(String) - Method in class nva.commons.core.Environment
Read an Environment variable.
readEnvOpt(String) - Method in class nva.commons.core.Environment
Read an Environment variable.
removeMultipleWhiteSpaces(String) - Static method in class nva.commons.core.StringUtils
Replaces multiple consecutive whitespaces with a single whitespace.
removeRoot() - Method in class nva.commons.core.paths.UnixPath
 
removeWhiteSpaces(String) - Static method in class nva.commons.core.StringUtils
Remove all whitespaces.
replacePathElementByIndexFromEnd(int, String) - Method in class nva.commons.core.paths.UnixPath
 
replacePathElementByIndexFromEnd(int, String) - Method in class nva.commons.core.paths.UriWrapper
 
replaceWhiteSpacesWithSpace(String) - Static method in class nva.commons.core.StringUtils
Replaces whitespaces with space.
repository(URI) - Method in class nva.commons.core.useragent.UserAgent.UserAgentBuilder
The repository for the code of the calling class.
ResourceNotFoundException - Exception in nva.commons.core.ioutils.exceptions
 
ResourceNotFoundException(String, Exception) - Constructor for exception nva.commons.core.ioutils.exceptions.ResourceNotFoundException
 
ResourceNotFoundException(Path, Exception) - Constructor for exception nva.commons.core.ioutils.exceptions.ResourceNotFoundException
Deprecated.
ROOT - Static variable in class nva.commons.core.ioutils.IoUtils
 
ROOT - Static variable in class nva.commons.core.paths.UnixPath
 
ROOT_PATH - Static variable in class nva.commons.core.paths.UnixPath
 

S

SINGLETON - Static variable in class nva.commons.core.SingletonCollector
 
SINGLETON_EXPECTED_ERROR_TEMPLATE - Static variable in class nva.commons.core.SingletonCollector
 
SINGLETON_OR_NULL_EXPECTED_ERROR_TEMPLATE - Static variable in class nva.commons.core.SingletonCollector
 
SingletonCollector - Class in nva.commons.core
 
SPACE - Static variable in class nva.commons.core.StringUtils
 
stackTraceInSingleLine(Exception) - Static method in class nva.commons.core.exceptions.ExceptionUtils
Returns the stacktrace in one line.
stream() - Method in class nva.commons.core.attempt.Failure
 
stream() - Method in class nva.commons.core.attempt.Success
 
stream() - Method in class nva.commons.core.attempt.Try
 
streamToString(InputStream) - Static method in class nva.commons.core.ioutils.IoUtils
Return a String the stream data encoded in UTF-8.
stringFromFile(Path) - Static method in class nva.commons.core.ioutils.IoUtils
Read file as a String.
stringFromResources(Path) - Static method in class nva.commons.core.ioutils.IoUtils
Read resource file as a String The root folder for the resources is considered to be the folders src/main/resources and src/test/resources/, or any other standard resources folder.
stringToStream(String) - Static method in class nva.commons.core.ioutils.IoUtils
Tranform a string to an inputStream.
StringUtils - Class in nva.commons.core
 
Success<T> - Class in nva.commons.core.attempt
 
Success(T) - Constructor for class nva.commons.core.attempt.Success
 

T

toOptional() - Method in class nva.commons.core.attempt.Failure
 
toOptional() - Method in class nva.commons.core.attempt.Success
 
toOptional() - Method in class nva.commons.core.attempt.Try
 
toOptional(ConsumerWithException<Failure<T>, E>) - Method in class nva.commons.core.attempt.Failure
 
toOptional(ConsumerWithException<Failure<T>, E>) - Method in class nva.commons.core.attempt.Success
 
toOptional(ConsumerWithException<Failure<T>, E>) - Method in class nva.commons.core.attempt.Try
 
toS3bucketPath() - Method in class nva.commons.core.paths.UriWrapper
 
toString() - Method in class nva.commons.core.paths.UnixPath
 
toString() - Method in class nva.commons.core.paths.UriWrapper
 
toString() - Method in class nva.commons.core.useragent.UserAgent
Creates the actual string value.
toUri(String) - Static method in class nva.commons.core.language.LanguageMapper
 
Try<T> - Class in nva.commons.core.attempt
Utility class for handling checked exceptions in map functions.
Try() - Constructor for class nva.commons.core.attempt.Try
 
tryCollect() - Static method in class nva.commons.core.SingletonCollector
A utility to return a singleton from a list that is expected to contain one and only one item, throwing supplied exception if the list is empty or does not contain one element.

U

UnixPath - Class in nva.commons.core.paths
Class for manipulating Unix-like paths.
UriWrapper - Class in nva.commons.core.paths
Class for easily building and manipulating URIs.
UriWrapper(String) - Constructor for class nva.commons.core.paths.UriWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
Use the static call UriWrapper.fromUri(String) instead.
UriWrapper(String, String) - Constructor for class nva.commons.core.paths.UriWrapper
 
UriWrapper(URI) - Constructor for class nva.commons.core.paths.UriWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
USER_AGENT - Static variable in class nva.commons.core.useragent.UserAgent
For convenience, we provide the header.
USER_AGENT_TEMPLATE - Static variable in class nva.commons.core.useragent.UserAgent.UserAgentBuilder
 
UserAgent - Class in nva.commons.core.useragent
When sending HTTP requests, applying a User-Agent header allows the recipient to know who is executing the request.
UserAgent.UserAgentBuilder - Class in nva.commons.core.useragent
Allows the building of a valid UserAgent string.

V

value - Variable in class nva.commons.core.attempt.Success
 
version(String) - Method in class nva.commons.core.useragent.UserAgent.UserAgentBuilder
The version of Handler class that initiates the call.

W

WHITESPACES - Static variable in class nva.commons.core.StringUtils
 
WIN_PATH_SEPARATOR_REGEX - Static variable in class nva.commons.core.ioutils.IoUtils
 
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form