Index

A C D E F G H J M N O P R S T U W 
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

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

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

H

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

json() - Methode in Klasse de.srsoftware.tools.Error
Create a json object of the error.

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(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

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

wrap() - Methode in Klasse de.srsoftware.tools.Error
Wrap an error object as Optional
A C D E F G H J M N O P R S T U W 
Alle Klassen und Schnittstellen|Alle Packages