Index
Alle Klassen und Schnittstellen|Alle Packages
A
- add(Exception) - Methode in Klasse de.srsoftware.tools.Error
-
add an exception to this Error object
- addData(Object...) - Methode in Klasse de.srsoftware.tools.Error
-
Add values to the data map
C
- Calc - Klasse in de.srsoftware.tools
-
collection of tiny algorithms
- camelCase(String) - Statische Methode in Klasse de.srsoftware.tools.Strings
-
convert a string to camel case: every character following a space is converted to uppercase, spaces are removed
- configDir(Class) - Statische Methode in Klasse de.srsoftware.tools.Paths
-
get a path to the config dir of a given application
- configDir(Object) - Statische Methode in Klasse de.srsoftware.tools.Paths
-
get a path to the config dir of a given application
- configDir(String) - Statische Methode in Klasse de.srsoftware.tools.Paths
-
get a path to the config dir of a given application
D
- data() - Methode in Klasse de.srsoftware.tools.Error
-
return the data map
- de.srsoftware.tools - Package de.srsoftware.tools
E
- Error<None> - Klasse in de.srsoftware.tools
-
This class may be returned by methods whose execution failed.
- Error(String) - Konstruktor für Klasse de.srsoftware.tools.Error
-
create a new Error object carrying the passed message
- exceptions() - Methode in Klasse de.srsoftware.tools.Error
-
get the list of Exceptions added to this Error object
- extension(File) - Statische Methode in Klasse de.srsoftware.tools.Paths
-
get the extension part of a file name
F
- fill(int, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.Strings
-
stuff the placeholders in the text with the string representations of the objects, don't indent
- fill(String, Object...) - Statische Methode in Klasse de.srsoftware.tools.Strings
-
stuff the placeholders in the text with the string representations of the objects, don't indent
- format(String, Object...) - Statische Methode in Klasse de.srsoftware.tools.Error
-
create a new Error object with the message formatted with the given fills
G
- get() - Methode in Klasse de.srsoftware.tools.Payload
-
get the payload
- ggt(long, long) - Statische Methode in Klasse de.srsoftware.tools.Calc
-
calculate the grates common divisor
H
- hash(Object) - Statische Methode in Klasse de.srsoftware.tools.Calc
-
calculate the hash of the objects string representation
- hash(String, String) - Methode in Schnittstelle de.srsoftware.tools.PasswordHasher
-
hashes a password using a second input as salt
- hash(String, String) - Methode in Klasse de.srsoftware.tools.UuidHasher
- hex(byte[]) - Statische Methode in Klasse de.srsoftware.tools.Strings
-
get a hexadecimal representation of the byte array
J
M
- map(Function<Result<Content>, Result<Mapped>>) - Methode in Schnittstelle de.srsoftware.tools.Result
-
Transform this Result object to another via a mapping function.
- map(Function<Result<None>, Result<Mapped>>) - Methode in Klasse de.srsoftware.tools.Error
- map(Function<Result<P>, Result<Mapped>>) - Methode in Klasse de.srsoftware.tools.Payload
- matches(String, String) - Methode in Schnittstelle de.srsoftware.tools.PasswordHasher
-
test, whether a given plain text password matches a hashed password
N
- notImplemented(Class<?>, String) - Statische Methode in Klasse de.srsoftware.tools.NotImplemented
-
create a runtime exception with a "not implemented: [class].
- notImplemented(Object, String) - Statische Methode in Klasse de.srsoftware.tools.NotImplemented
-
create a runtime exception with a "not implemented: [class].
- notImplemented(String) - Statische Methode in Klasse de.srsoftware.tools.NotImplemented
-
create a runtime exception with a "not implemented: …" message
- NotImplemented - Klasse in de.srsoftware.tools
-
helper class to easily create no-implementd excaptions
O
- of(String, Exception...) - Statische Methode in Klasse de.srsoftware.tools.Error
-
create a new Error object carrying the passed message
- of(P) - Statische Methode in Klasse de.srsoftware.tools.Payload
-
wrap a payload
- optional() - Methode in Klasse de.srsoftware.tools.Error
- optional() - Methode in Klasse de.srsoftware.tools.Payload
- optional() - Methode in Schnittstelle de.srsoftware.tools.Result
-
Create an Optional from a Result.
P
- PasswordHasher<T> - Schnittstelle in de.srsoftware.tools
-
A haser for passwords
- Paths - Klasse in de.srsoftware.tools
-
Utilities for working with application configuration
- Payload<P> - Klasse in de.srsoftware.tools
-
A wrapper for results that carry an actual payload
- Payload(P) - Konstruktor für Klasse de.srsoftware.tools.Payload
-
Wrap a payload as a successful instance of Result
R
- Result<Content> - Schnittstelle in de.srsoftware.tools
-
This interface can be used as a result type for functions that may return something or an error.
S
- salt(String) - Methode in Schnittstelle de.srsoftware.tools.PasswordHasher
-
return the salt part of a given hashed password
- salt(String) - Methode in Klasse de.srsoftware.tools.UuidHasher
- stream() - Methode in Klasse de.srsoftware.tools.Error
- stream() - Methode in Klasse de.srsoftware.tools.Payload
- stream() - Methode in Schnittstelle de.srsoftware.tools.Result
-
Create a stream of the Payload.
- Strings - Klasse in de.srsoftware.tools
-
Utilities for String handling
T
- toString() - Methode in Klasse de.srsoftware.tools.Error
- toString() - Methode in Klasse de.srsoftware.tools.Payload
- transform() - Methode in Klasse de.srsoftware.tools.Error
-
create an Error with the same metadata content as this Object, but with different payload type
- transform(Result<?>) - Statische Methode in Schnittstelle de.srsoftware.tools.Result
-
Transforms the Result to an Error with appropriate payload type
U
- uuid() - Statische Methode in Klasse de.srsoftware.tools.Strings
-
shorthand to create a new UUID
- UuidHasher - Klasse in de.srsoftware.tools
-
A password hasher that uses uuids as salt
- UuidHasher() - Konstruktor für Klasse de.srsoftware.tools.UuidHasher
-
Create a new instance
W
A C D E F G H J M N O P R S T U WAlle Klassen und Schnittstellen|Alle Packages