Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(T) - Method in interface fr.enedis.chutney.tools.ThrowingConsumer
- apply(T) - Method in interface fr.enedis.chutney.tools.ThrowingFunction
B
- build(T, Runnable) - Static method in interface fr.enedis.chutney.tools.CloseableResource
C
- characteristics() - Method in class fr.enedis.chutney.tools.TakeWhileSpliterator
- ChutneyMemoryInfo - Class in fr.enedis.chutney.tools
- ChutneyMemoryInfo() - Constructor for class fr.enedis.chutney.tools.ChutneyMemoryInfo
- classpath(String) - Static method in class fr.enedis.chutney.tools.loader.ExtensionLoaders.Sources
- classpathToClass(String) - Static method in class fr.enedis.chutney.tools.loader.ExtensionLoaders
- cleanFolder(Path) - Static method in class fr.enedis.chutney.tools.file.FileUtils
- close() - Method in interface fr.enedis.chutney.tools.CloseableResource
- CloseableResource<T> - Interface in fr.enedis.chutney.tools
- collectUniqueResult() - Static method in class fr.enedis.chutney.tools.Streams
- createFile(Path) - Static method in class fr.enedis.chutney.tools.file.FileUtils
D
- delete(Path) - Static method in class fr.enedis.chutney.tools.file.FileUtils
- deleteFolder(Path) - Static method in class fr.enedis.chutney.tools.file.FileUtils
- doOnListFiles(Path, Function<Stream<Path>, R>) - Static method in class fr.enedis.chutney.tools.file.FileUtils
E
- Entry - Class in fr.enedis.chutney.tools
- Entry(String, String) - Constructor for class fr.enedis.chutney.tools.Entry
- estimateSize() - Method in class fr.enedis.chutney.tools.TakeWhileSpliterator
- exec(ThrowingSupplier<T, E>) - Static method in class fr.enedis.chutney.tools.Try
- ExtensionLoader<EXTENSION> - Interface in fr.enedis.chutney.tools.loader
-
Load objects from abstract sources.
Mechanism similar toServiceLoaderorbut more extensible.invalid reference
org.springframework.core.io.support.SpringFactoriesLoader - ExtensionLoader.Builder<SOURCE,
EXTENSION> - Class in fr.enedis.chutney.tools.loader -
Builder of
ExtensionLoader. - ExtensionLoader.ExtensionLoaderSource<SOURCE> - Interface in fr.enedis.chutney.tools.loader
-
Source from where to fetch Object description.
- ExtensionLoaders - Class in fr.enedis.chutney.tools.loader
-
Reference common
ExtensionLoaders. - ExtensionLoaders.Mappers - Class in fr.enedis.chutney.tools.loader
-
Reference common
Functionsusable as mapper forExtensionLoader. - ExtensionLoaders.Sources - Class in fr.enedis.chutney.tools.loader
-
Reference common
ExtensionLoaderSources.
F
- FileUtils - Class in fr.enedis.chutney.tools.file
- findAvailableTcpPort() - Static method in class fr.enedis.chutney.tools.SocketUtils
- findAvailableTcpPort(int) - Static method in class fr.enedis.chutney.tools.SocketUtils
-
Find an available TCP port randomly selected from the range [
minPort, 65535]. - findAvailableTcpPort(int, int) - Static method in class fr.enedis.chutney.tools.SocketUtils
-
Find an available TCP port randomly selected from the range [
minPort,maxPort]. - findAvailableTcpPorts(int) - Static method in class fr.enedis.chutney.tools.SocketUtils
- findAvailableTcpPorts(int, int, int) - Static method in class fr.enedis.chutney.tools.SocketUtils
-
Find the requested number of available TCP ports, each randomly selected from the range [
minPort,maxPort]. - findAvailableUdpPort() - Static method in class fr.enedis.chutney.tools.SocketUtils
- findAvailableUdpPort(int) - Static method in class fr.enedis.chutney.tools.SocketUtils
-
Find an available UDP port randomly selected from the range [
minPort, 65535]. - findAvailableUdpPort(int, int) - Static method in class fr.enedis.chutney.tools.SocketUtils
-
Find an available UDP port randomly selected from the range [
minPort,maxPort]. - findAvailableUdpPorts(int) - Static method in class fr.enedis.chutney.tools.SocketUtils
- findAvailableUdpPorts(int, int, int) - Static method in class fr.enedis.chutney.tools.SocketUtils
-
Find the requested number of available UDP ports, each randomly selected from the range [
minPort,maxPort]. - findLast(Stream<T>, Predicate<T>) - Static method in class fr.enedis.chutney.tools.Streams
- fr.enedis.chutney.tools - package fr.enedis.chutney.tools
- fr.enedis.chutney.tools.file - package fr.enedis.chutney.tools.file
- fr.enedis.chutney.tools.loader - package fr.enedis.chutney.tools.loader
- freePortFromSystem() - Static method in class fr.enedis.chutney.tools.SocketUtils
-
Find free TCP port automatically allocated
G
- get() - Method in interface fr.enedis.chutney.tools.ThrowingSupplier
- get() - Method in class fr.enedis.chutney.tools.Try
- getComparator() - Method in class fr.enedis.chutney.tools.TakeWhileSpliterator
- getError() - Method in class fr.enedis.chutney.tools.Try
- getNameWithoutExtension(Path) - Static method in class fr.enedis.chutney.tools.file.FileUtils
- getResource() - Method in interface fr.enedis.chutney.tools.CloseableResource
H
- hasEnoughAvailableMemory(int) - Static method in class fr.enedis.chutney.tools.ChutneyMemoryInfo
I
- identity(Consumer<T>) - Static method in class fr.enedis.chutney.tools.Streams
- ifFailed(Consumer<Exception>) - Method in class fr.enedis.chutney.tools.Try
- ifSuccess(Consumer<T>) - Method in class fr.enedis.chutney.tools.Try
- initFolder(Path) - Static method in class fr.enedis.chutney.tools.file.FileUtils
- instantiate() - Static method in class fr.enedis.chutney.tools.loader.ExtensionLoaders.Mappers
K
L
- listFiles(Path) - Static method in class fr.enedis.chutney.tools.file.FileUtils
- load() - Method in interface fr.enedis.chutney.tools.loader.ExtensionLoader.ExtensionLoaderSource
- load() - Method in interface fr.enedis.chutney.tools.loader.ExtensionLoader
M
- maxMemory() - Static method in class fr.enedis.chutney.tools.ChutneyMemoryInfo
- MyMixInForIgnoreType - Class in fr.enedis.chutney.tools
- MyMixInForIgnoreType() - Constructor for class fr.enedis.chutney.tools.MyMixInForIgnoreType
N
- NotEnoughMemoryException - Exception Class in fr.enedis.chutney.tools
- NotEnoughMemoryException(long, long, String) - Constructor for exception class fr.enedis.chutney.tools.NotEnoughMemoryException
P
- PORT_RANGE_MAX - Static variable in class fr.enedis.chutney.tools.SocketUtils
-
The default maximum value for port ranges used when finding an available socket port.
- PORT_RANGE_MIN - Static variable in class fr.enedis.chutney.tools.SocketUtils
-
The default minimum value for port ranges used when finding an available socket port.
R
- Rationale - Search tag in fr.enedis.chutney.tools.SocketUtils.SocketUtils()
- Section
- readContent(Path) - Static method in class fr.enedis.chutney.tools.file.FileUtils
- runtime() - Method in class fr.enedis.chutney.tools.Try
S
- silence(ThrowingConsumer<T>, Consumer<Exception>) - Static method in interface fr.enedis.chutney.tools.ThrowingConsumer
- silence(ThrowingFunction<T, R, E>, Function<Exception, R>) - Static method in interface fr.enedis.chutney.tools.ThrowingFunction
- silence(ThrowingPredicate<T, E>, Function<Exception, Boolean>) - Static method in interface fr.enedis.chutney.tools.ThrowingPredicate
- silence(ThrowingSupplier<T, E>, Function<Exception, T>) - Static method in interface fr.enedis.chutney.tools.ThrowingSupplier
- skipUntil(Stream<T>, Predicate<T>) - Static method in class fr.enedis.chutney.tools.Streams
- SocketUtils - Class in fr.enedis.chutney.tools
- SocketUtils() - Constructor for class fr.enedis.chutney.tools.SocketUtils
-
Although
SocketUtilsconsists solely of static utility methods, this constructor is intentionallypublic. - splitByLine() - Static method in class fr.enedis.chutney.tools.loader.ExtensionLoaders.Mappers
- splitByLineIgnoring(String) - Static method in class fr.enedis.chutney.tools.loader.ExtensionLoaders.Mappers
- Streams - Class in fr.enedis.chutney.tools
T
- takeUntil(Stream<T>, Predicate<T>) - Static method in class fr.enedis.chutney.tools.Streams
- takeWhile(Stream<T>, Predicate<T>) - Static method in class fr.enedis.chutney.tools.Streams
- TakeWhileSpliterator<T> - Class in fr.enedis.chutney.tools
- test(T) - Method in interface fr.enedis.chutney.tools.ThrowingPredicate
- ThrowingConsumer<T> - Interface in fr.enedis.chutney.tools
- ThrowingFunction<T,
R, - Interface in fr.enedis.chutney.toolsE> - ThrowingPredicate<T,
E> - Interface in fr.enedis.chutney.tools - ThrowingSupplier<T,
E> - Interface in fr.enedis.chutney.tools - throwUncheckedException(Exception) - Static method in exception class fr.enedis.chutney.tools.UncheckedException
- toEntryList(Map<String, String>) - Static method in class fr.enedis.chutney.tools.Entry
- toEntrySet(Map<String, String>) - Static method in class fr.enedis.chutney.tools.Entry
- toMap(Collection<Entry>) - Static method in class fr.enedis.chutney.tools.Entry
- toStream(Enumeration<T>) - Static method in class fr.enedis.chutney.tools.Streams
- toUnchecked(ThrowingConsumer<T>) - Static method in interface fr.enedis.chutney.tools.ThrowingConsumer
- toUnchecked(ThrowingFunction<T, R, E>) - Static method in interface fr.enedis.chutney.tools.ThrowingFunction
- toUnchecked(ThrowingPredicate<T, E>) - Static method in interface fr.enedis.chutney.tools.ThrowingPredicate
- toUnchecked(ThrowingSupplier<T, E>) - Static method in interface fr.enedis.chutney.tools.ThrowingSupplier
- Try<T> - Class in fr.enedis.chutney.tools
- tryAdvance(Consumer<? super T>) - Method in class fr.enedis.chutney.tools.TakeWhileSpliterator
- trySplit() - Method in class fr.enedis.chutney.tools.TakeWhileSpliterator
- tryToRecover(ThrowingFunction<? super Exception, T, ? extends Exception>) - Method in class fr.enedis.chutney.tools.Try
- tryToRecover(Class<Handled>, ThrowingFunction<? super Exception, T, ? extends Exception>) - Method in class fr.enedis.chutney.tools.Try
U
- UncheckedException - Exception Class in fr.enedis.chutney.tools
-
Specific
RuntimeExceptionthrown when checkedExceptionoccurs in ThrowingFunctions.
CheckedExceptionis set as cause. - unsafe(ThrowingSupplier<T, E>) - Static method in class fr.enedis.chutney.tools.Try
- unsafe(String, ThrowingSupplier<T, E>) - Static method in class fr.enedis.chutney.tools.Try
- unsafeGet() - Method in interface fr.enedis.chutney.tools.ThrowingSupplier
- Usage Example - Search tag in interface fr.enedis.chutney.tools.ThrowingSupplier
- Section
- usedMemory() - Static method in class fr.enedis.chutney.tools.ChutneyMemoryInfo
V
W
- withMapper(Function<SOURCE, Set<EXTENSION>>) - Method in class fr.enedis.chutney.tools.loader.ExtensionLoader.Builder
- withSource(ExtensionLoader.ExtensionLoaderSource<SOURCE>) - Static method in class fr.enedis.chutney.tools.loader.ExtensionLoader.Builder
- writeContent(Path, String) - Static method in class fr.enedis.chutney.tools.file.FileUtils
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form