A C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
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.
- 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.
C
- 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
Streamor the alternative if nothing was found. - consume(T) - Method in interface nva.commons.core.attempt.ConsumerWithException
- ConsumerWithException<T,E extends java.lang.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
- dtoObjectMapper - Static variable in class nva.commons.core.JsonUtils
- dynamoObjectMapper - Static variable in class nva.commons.core.JsonUtils
E
- 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_STRING - Static variable in class nva.commons.core.StringUtils
- 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
- fromString(String) - Static method in class nva.commons.core.paths.UnixPath
- FunctionWithException<T,R,E extends java.lang.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
- getFilename() - Method in class nva.commons.core.paths.UriWrapper
- getHost() - Method in class nva.commons.core.paths.UriWrapper
- getInput() - Method in exception nva.commons.core.parallel.ParallelExecutionException
- 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
- 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
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
- 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.
- 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.
- isNotNullOrBlank(String) - Static method in class nva.commons.core.StringUtils
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isNotNullOrEmpty(String) - Static method in class nva.commons.core.StringUtils
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isNullOrBlank(String) - Static method in class nva.commons.core.StringUtils
-
Deprecated, for removal: This API element is subject to removal in a future version.
- isNullOrEmpty(String) - Static method in class nva.commons.core.StringUtils
-
Deprecated, for removal: This API element is subject to removal in a future version.
- 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 Type in nva.commons.core
- JsonSerializable - Interface in nva.commons.core
- JsonUtils - Class 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
N
- NULL_ACTION_MESSAGE - Static variable in class nva.commons.core.attempt.Try
- 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
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
- 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(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
-
ParallelMapperis 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.
- replaceWhiteSpacesWithSpace(String) - Static method in class nva.commons.core.StringUtils
-
Replaces whitespaces with space.
- 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
- singleLineObjectMapper - Static variable in class nva.commons.core.JsonUtils
- 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
StringThe 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
- toJsonString() - Method in interface nva.commons.core.JsonSerializable
-
JsonString.
- 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
- 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
- UriWrapper(URI) - Constructor for class nva.commons.core.paths.UriWrapper
V
W
- WHITESPACES - Static variable in class nva.commons.core.StringUtils
- WIN_PATH_SEPARATOR_REGEX - Static variable in class nva.commons.core.ioutils.IoUtils
All Classes All Packages