Index

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

A

addParameter(String, String) - Method in class br.dev.rplus.cup.request.UrlBuilder
Adds the given parameter to the URL.
addParameters(Map<String, String>) - Method in class br.dev.rplus.cup.request.UrlBuilder
Adds the given parameters to the URL.
AnsiColors - Enum Class in br.dev.rplus.cup.enums
AnsiColors is an enumeration that defines a set of ANSI escape codes for text color formatting.
asBoolean() - Method in class br.dev.rplus.cup.config.Value
Converts the value to a boolean.
asBoolean() - Method in class br.dev.rplus.cup.enums.TypedValue
Returns the value as a boolean.
asDouble() - Method in class br.dev.rplus.cup.config.Value
Converts the value to a double.
asInt() - Method in class br.dev.rplus.cup.config.Value
Converts the value to an int.
asInteger() - Method in class br.dev.rplus.cup.enums.TypedValue
Returns the value as an integer.
asList() - Method in class br.dev.rplus.cup.config.Value
Converts the value to a List of Value elements.
asMap() - Method in class br.dev.rplus.cup.config.Value
Converts the value to a Map with String keys and Value values.
asString() - Method in class br.dev.rplus.cup.config.Value
Converts the value to a String.
asString() - Method in class br.dev.rplus.cup.enums.TypedValue
Returns the value as a string.

B

BLACK - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for dark shade of the color black.
BLUE - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for dark shade of the color blue.
body(String) - Method in class br.dev.rplus.cup.request.HttpRequester
Sets the body for the HTTP request.
br.dev.rplus.cup.config - package br.dev.rplus.cup.config
 
br.dev.rplus.cup.config.environment - package br.dev.rplus.cup.config.environment
 
br.dev.rplus.cup.config.source - package br.dev.rplus.cup.config.source
 
br.dev.rplus.cup.enums - package br.dev.rplus.cup.enums
 
br.dev.rplus.cup.log - package br.dev.rplus.cup.log
 
br.dev.rplus.cup.object - package br.dev.rplus.cup.object
 
br.dev.rplus.cup.object.export - package br.dev.rplus.cup.object.export
 
br.dev.rplus.cup.object.export.strategies - package br.dev.rplus.cup.object.export.strategies
 
br.dev.rplus.cup.os - package br.dev.rplus.cup.os
 
br.dev.rplus.cup.reflection - package br.dev.rplus.cup.reflection
 
br.dev.rplus.cup.request - package br.dev.rplus.cup.request
 
br.dev.rplus.cup.utils - package br.dev.rplus.cup.utils
 
builder() - Static method in class br.dev.rplus.cup.request.HttpRequester
Creates a new instance of the `RequestHttp` class.
builder() - Static method in class br.dev.rplus.cup.request.UrlBuilder
Creates a new instance of the UrlBuilder class.

C

capitalize(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Capitalizes the first letter of a string.
CHROME_OS - Enum constant in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
Represents the Chrome OS operating system.
ClassFinder - Class in br.dev.rplus.cup.reflection
Utility class for finding classes in a package.
ClassFinder() - Constructor for class br.dev.rplus.cup.reflection.ClassFinder
 
close(Object) - Static method in class br.dev.rplus.cup.object.ObjectCloser
Closes an object and its fields.
close(Object...) - Static method in class br.dev.rplus.cup.object.ObjectCloser
Closes an array of objects and their fields.
Config - Class in br.dev.rplus.cup.config
Represents a hierarchical configuration loaded from an external source (YAML, .properties, etc.).
Config(Map<String, Object>) - Constructor for class br.dev.rplus.cup.config.Config
Creates a new Config instance.
ConfigLoader - Class in br.dev.rplus.cup.config
Utility class that detects the file type (YAML or .properties), loads the data through the proper ConfigSource, and returns a ready-to-use Config instance.
ConfigLoader() - Constructor for class br.dev.rplus.cup.config.ConfigLoader
 
ConfigSource - Interface in br.dev.rplus.cup.config.source
Functional interface representing a configuration source (e.g.
connectionTimeout(int) - Method in class br.dev.rplus.cup.request.HttpRequester
Sets the connection timeout for the request.
contains(String) - Static method in class br.dev.rplus.cup.config.environment.Properties
Checks if the specified property exists in the loaded properties.
convertUlidToUUID(Ulid) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Converts a ULID to a UUID (RFC-4122 format).
convertUlidToUUIDv4(Ulid) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Converts a ULID to a Version 4 UUID.
countOccurrences(String, String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Counts the number of occurrences of a substring in a string.
CSV - Enum constant in enum class br.dev.rplus.cup.object.export.ExportType
CSV export strategy.
CsvExportStrategy - Class in br.dev.rplus.cup.object.export.strategies
CSV export strategy.
CsvExportStrategy() - Constructor for class br.dev.rplus.cup.object.export.strategies.CsvExportStrategy
 
currentTimestamp() - Static method in class br.dev.rplus.cup.utils.DateUtils
Gets the current Unix timestamp (in seconds).
CYAN - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for dark shade of the color cyan.

D

DateUtils - Class in br.dev.rplus.cup.utils
Utility class for date and time operations.
DateUtils() - Constructor for class br.dev.rplus.cup.utils.DateUtils
Creates a DateUtils instance with the default format "yyyy-MM-dd".
DateUtils(String) - Constructor for class br.dev.rplus.cup.utils.DateUtils
Creates a DateUtils instance with a custom format.
debug(String, Object...) - Method in class br.dev.rplus.cup.log.Logger
Logs a message at the DEBUG level.
DEBUG - Static variable in class br.dev.rplus.cup.log.LoggerLevel
The DEBUG log level designates fine-grained informational events that are most useful to debug an application.
DELETE - Enum constant in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
HTTP DELETE method.
describe() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Returns a formatted string describing the current OS name, architecture, and version.

E

equals(Object) - Method in class br.dev.rplus.cup.log.LoggerLevel
 
error(String, Object...) - Method in class br.dev.rplus.cup.log.Logger
Logs a message at the ERROR level.
ERROR - Static variable in class br.dev.rplus.cup.log.LoggerLevel
The ERROR log level designates error events that might still allow the application to continue running.
export(Object) - Method in class br.dev.rplus.cup.object.export.ExportData
Exports the given object using one of the available strategies to a given file.
export(Object) - Method in interface br.dev.rplus.cup.object.export.ExportStrategy
Export object to string.
export(Object) - Method in class br.dev.rplus.cup.object.export.strategies.CsvExportStrategy
 
export(Object) - Method in class br.dev.rplus.cup.object.export.strategies.JsonExportStrategy
 
export(Object) - Method in class br.dev.rplus.cup.object.export.strategies.XmlExportStrategy
 
export(Object, File) - Method in interface br.dev.rplus.cup.object.export.ExportStrategy
Export object to file.
export(Object, File) - Method in class br.dev.rplus.cup.object.export.strategies.CsvExportStrategy
 
export(Object, File) - Method in class br.dev.rplus.cup.object.export.strategies.JsonExportStrategy
 
export(Object, File) - Method in class br.dev.rplus.cup.object.export.strategies.XmlExportStrategy
 
ExportData - Class in br.dev.rplus.cup.object.export
Utility class to export data to a file from an object.
ExportData(ExportStrategy) - Constructor for class br.dev.rplus.cup.object.export.ExportData
Constructor with export strategy.
ExportData(ExportStrategy, String) - Constructor for class br.dev.rplus.cup.object.export.ExportData
Constructor with export strategy and filename.
ExportData(ExportStrategy, String, String) - Constructor for class br.dev.rplus.cup.object.export.ExportData
Constructor with export strategy, filename and path.
ExportStrategy - Interface in br.dev.rplus.cup.object.export
Interface for Export strategy.
exportToString(Object) - Method in class br.dev.rplus.cup.object.export.ExportData
Exports the given object using one of the available strategies to a String.
ExportType - Enum Class in br.dev.rplus.cup.object.export
Enum for export types (export strategies).

F

fatal(String, Object...) - Method in class br.dev.rplus.cup.log.Logger
Logs a message at the FATAL level.
FATAL - Static variable in class br.dev.rplus.cup.log.LoggerLevel
The FATAL log level designates very severe error events that will presumably lead the application to abort.
findClasses(File, String) - Static method in class br.dev.rplus.cup.reflection.ClassFinder
Recursively finds all classes in the specified directory.
findImplementations(Class<T>, String) - Static method in class br.dev.rplus.cup.reflection.InterfaceFinder
Finds all classes that implement the specified interface in the specified package.
followRedirects(boolean) - Method in class br.dev.rplus.cup.request.HttpRequester
Sets whether to follow redirects for the request.
format(LocalDate) - Method in class br.dev.rplus.cup.utils.DateUtils
Formats a given LocalDate object.
format(LocalDateTime, String) - Static method in class br.dev.rplus.cup.utils.DateUtils
Formats a LocalDateTime object into a string.
format(Date) - Method in class br.dev.rplus.cup.utils.DateUtils
Formats a given Date object.
format(LogRecord) - Method in class br.dev.rplus.cup.log.LoggerFormatter
Formats the given log record and returns a formatted string.
from(InputStream, String) - Static method in class br.dev.rplus.cup.config.ConfigLoader
Loads configuration data from an InputStream, inferring the format from the file name.
from(String) - Static method in class br.dev.rplus.cup.config.ConfigLoader
Loads a configuration file from a string path.
from(Path) - Static method in class br.dev.rplus.cup.config.ConfigLoader
Loads a configuration file from a Path.
fromTimestamp(String) - Static method in class br.dev.rplus.cup.utils.DateUtils
Converts a timestamp (in seconds) to a Date object.

G

get() - Method in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
Returns the TypedValue associated with this enum constant.
get(String) - Method in class br.dev.rplus.cup.config.Config
Retrieves a value using a dot-notation key.
get(String) - Static method in class br.dev.rplus.cup.config.environment.Properties
Retrieves the value of the specified property.
get(String, String) - Static method in class br.dev.rplus.cup.config.environment.Properties
Retrieves the value of the specified property, or returns the specified default value if the property is not found.
GET - Enum constant in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
HTTP GET method.
getAll() - Static method in class br.dev.rplus.cup.config.environment.Properties
Retrieves all loaded properties.
getClasses(String) - Static method in class br.dev.rplus.cup.reflection.ClassFinder
Finds all classes in the specified package.
getColorCode() - Method in enum class br.dev.rplus.cup.enums.AnsiColors
Gets the ANSI color code associated with this enum constant.
getContentType() - Method in interface br.dev.rplus.cup.object.export.ExportStrategy
Get the content type of the file.
getContentType() - Method in class br.dev.rplus.cup.object.export.strategies.CsvExportStrategy
 
getContentType() - Method in class br.dev.rplus.cup.object.export.strategies.JsonExportStrategy
 
getContentType() - Method in class br.dev.rplus.cup.object.export.strategies.XmlExportStrategy
 
getExportStrategy() - Method in class br.dev.rplus.cup.object.export.ExportData
 
getExtension() - Method in interface br.dev.rplus.cup.object.export.ExportStrategy
Get the extension of the file.
getExtension() - Method in class br.dev.rplus.cup.object.export.strategies.CsvExportStrategy
 
getExtension() - Method in class br.dev.rplus.cup.object.export.strategies.JsonExportStrategy
 
getExtension() - Method in class br.dev.rplus.cup.object.export.strategies.XmlExportStrategy
 
getFilename() - Method in class br.dev.rplus.cup.object.export.ExportData
 
getHashUlid(long, String) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a hash-based ULID using the specified timestamp and name.
getInstance() - Static method in class br.dev.rplus.cup.log.Logger
Returns the singleton instance of the LoggerCup.
getLevel() - Method in class br.dev.rplus.cup.log.Logger
Returns the log level for the logger.
getLevels() - Static method in class br.dev.rplus.cup.log.LoggerLevel
Returns a map of all available log levels.
getLogger() - Method in class br.dev.rplus.cup.log.Logger
Returns the logger instance.
getLogger(String) - Static method in class br.dev.rplus.cup.log.Logger
Returns the logger instance for a specific application.
getMonotonicUlid() - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a monotonic ULID, which guarantees that ULIDs are ordered if generated within the same millisecond.
getOsArch() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Returns the architecture of the current operating system.
getOsName() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Returns the name of the current operating system.
getOsVersion() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Returns the version of the current operating system.
getQuickUlid() - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a fast ULID.
getRawValue() - Method in class br.dev.rplus.cup.enums.TypedValue
Returns the raw value.
getStrategyClass() - Method in enum class br.dev.rplus.cup.object.export.ExportType
Gets the class of the export strategy.
getTypedValue(Class<T>) - Method in class br.dev.rplus.cup.enums.TypedValue
Returns the value as the given type.
getULID() - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a ULID (Universally Unique Lexicographically Sortable Identifier).
getUlidFromString(String) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Converts a string into a ULID.
getUlidInstant(Ulid) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Extracts the timestamp from a ULID and returns it as an Instant.
getUUIDFromString(String) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Converts a string into a UUID.
getUUIDv1() - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a time-based UUID (Version 1).
getUUIDv2(int) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a DCE Security UUID (Version 2).
getUUIDv3(String) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a name-based UUID (Version 3) using MD5 hashing.
getUUIDv4() - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a random-based UUID (Version 4).
getUUIDv5(String) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a name-based UUID (Version 5) using SHA-1 hashing.
getUUIDv6() - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a time-ordered UUID (Version 6).
getUUIDv7() - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Generates a Unix Epoch time-based UUID (Version 7).
GREEN - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for dark shade of the color green.

H

hashCode() - Method in class br.dev.rplus.cup.log.LoggerLevel
 
HEAD - Enum constant in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
HTTP HEAD method.
header(String, String) - Method in class br.dev.rplus.cup.request.HttpRequester
Sets a header for the HTTP request.
headers(Map<String, String>) - Method in class br.dev.rplus.cup.request.HttpRequester
Sets headers for the HTTP request.
HttpRequester - Class in br.dev.rplus.cup.request
Utility class to make HTTP requests.
HttpRequester.HttpMethod - Enum Class in br.dev.rplus.cup.request
HTTP methods supported by the `RequestHttp` class.

I

info(String, Object...) - Method in class br.dev.rplus.cup.log.Logger
Logs a message at the INFO level.
INFO - Static variable in class br.dev.rplus.cup.log.LoggerLevel
The INFO log level designates informational messages that highlight the progress of the application at fine-grained level.
init() - Method in class br.dev.rplus.cup.log.Logger
Initializes the logger with default settings.
init(String) - Method in class br.dev.rplus.cup.log.Logger
Initializes the logger with a custom identifier.
init(String, String) - Method in class br.dev.rplus.cup.log.Logger
Initializes the logger with a custom identifier and a specified log level.
init(String, String, boolean) - Method in class br.dev.rplus.cup.log.Logger
Initializes the logger with a custom identifier, a specified log level and an option to use a custom console handler.
init(String, String, boolean, boolean) - Method in class br.dev.rplus.cup.log.Logger
Initializes the logger with a custom identifier, a specified log level, an option to use a custom console handler and an option to write the log to a file.
InterfaceFinder - Class in br.dev.rplus.cup.reflection
Utility class for finding classes that implement a specific interface.
InterfaceFinder() - Constructor for class br.dev.rplus.cup.reflection.InterfaceFinder
 
isArm() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the system architecture is ARM or AARCH.
isChromeOs() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the current OS is Chrome OS.
isLinux() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the current OS is Linux.
isMac() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the current OS is macOS.
isNull() - Method in class br.dev.rplus.cup.config.Value
Checks if the underlying value is null.
isNullOrBlank(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Checks if a string is null, empty, or only contains whitespace.
isNullOrEmpty(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Checks if a string is null or empty.
isNumeric(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Checks if a string contains only digits.
isUnix() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the current OS is a Unix-based system (Linux or macOS).
isValidJson(String) - Static method in class br.dev.rplus.cup.utils.Json
Checks if a string is a valid JSON.
isValidUlid(String) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Checks if a ULID is valid.
isValidUUID(String) - Static method in class br.dev.rplus.cup.utils.UniqueIdentifiers
Checks if a UUID is valid.
isWindows() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the current OS is Windows.
isWindowsSubsystemForLinux() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the current environment is WSL (Windows Subsystem for Linux).
isX64() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the system architecture is 64-bit.
isX86() - Static method in class br.dev.rplus.cup.os.OperatingSystem
Checks if the system architecture is 32-bit.

J

join(String, String...) - Static method in class br.dev.rplus.cup.utils.StringUtils
Joins an array of strings into a single string with a specified delimiter.
Json - Class in br.dev.rplus.cup.utils
Utility class for working with JSON data.
JSON - Enum constant in enum class br.dev.rplus.cup.object.export.ExportType
JSON export strategy.
JsonExportStrategy - Class in br.dev.rplus.cup.object.export.strategies
JSON export strategy.
JsonExportStrategy() - Constructor for class br.dev.rplus.cup.object.export.strategies.JsonExportStrategy
 
jsonToMap(String) - Static method in class br.dev.rplus.cup.utils.Json
Converts a JSON string to a Map.

L

LIGHT_BLACK - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for light shade of the color black.
LIGHT_BLUE - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for light shade of the color blue.
LIGHT_CYAN - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for light shade of the color cyan.
LIGHT_GREEN - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for light shade of the color green.
LIGHT_MAGENTA - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for light shade of the color magenta.
LIGHT_RED - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for light shade of the color red.
LIGHT_WHITE - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for light shade of the color white.
LIGHT_YELLOW - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for light shade of the color yellow.
LINUX - Enum constant in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
Represents the Linux operating system.
load() - Method in interface br.dev.rplus.cup.config.source.ConfigSource
Loads configuration data and returns it as a Map.
load() - Method in class br.dev.rplus.cup.config.source.PropertiesConfigSource
 
load() - Method in class br.dev.rplus.cup.config.source.YamlConfigSource
 
load(String) - Static method in class br.dev.rplus.cup.config.environment.Properties
Loads properties from a file at the specified path in the file system.
load(String, boolean) - Static method in class br.dev.rplus.cup.config.environment.Properties
Loads properties from a file at the specified path.
logFile(boolean) - Method in class br.dev.rplus.cup.log.Logger
Configures the logger to write logs to a file.
Logger - Class in br.dev.rplus.cup.log
LoggerCup is an abstract class that facilitates logging management for Java applications.
Logger() - Constructor for class br.dev.rplus.cup.log.Logger
 
LoggerFormatter - Class in br.dev.rplus.cup.log
LoggerFormatter is a custom formatter for log messages, designed to format log output with timestamp, log level, source class, method name, and thread name.
LoggerFormatter() - Constructor for class br.dev.rplus.cup.log.LoggerFormatter
Default constructor.
LoggerLevel - Class in br.dev.rplus.cup.log
LevelCup is a custom implementation of the Level class, providing additional log levels beyond the standard levels provided by the Java logging framework.
LoggerLevel(String, int) - Constructor for class br.dev.rplus.cup.log.LoggerLevel
Constructs a new instance of LevelCup with the specified name and value.

M

MAC - Enum constant in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
Represents the macOS operating system.
MAGENTA - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for dark shade of the color magenta.
mapToJson(Map<String, Object>) - Static method in class br.dev.rplus.cup.utils.Json
Converts a Map to a JSON string.
method(HttpRequester.HttpMethod) - Method in class br.dev.rplus.cup.request.HttpRequester
Sets the HTTP method for the request.
multipartBody(Map<String, String>, Map<String, File>) - Method in class br.dev.rplus.cup.request.HttpRequester
Sets the body for the HTTP request, using multipart/form-data.

N

notice(String, Object...) - Method in class br.dev.rplus.cup.log.Logger
Logs a message at the NOTICE level.
NOTICE - Static variable in class br.dev.rplus.cup.log.LoggerLevel
The NOTICE log level designates informational messages that highlight the progress of the application at coarse-grained level.
now() - Static method in class br.dev.rplus.cup.utils.DateUtils
Gets the current date.

O

ObjectCloser - Class in br.dev.rplus.cup.object
Utility class to close an object and its fields.
ObjectCloser() - Constructor for class br.dev.rplus.cup.object.ObjectCloser
Default constructor.
OperatingSystem - Class in br.dev.rplus.cup.os
Utility class for detecting and interacting with the operating system properties of the host environment.
OperatingSystem() - Constructor for class br.dev.rplus.cup.os.OperatingSystem
 
OperatingSystemEnum - Enum Class in br.dev.rplus.cup.enums
Enum representing known operating systems and system properties used for OS detection and system information retrieval.
OPTIONS - Enum constant in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
HTTP OPTIONS method.

P

pad(String, int, char, boolean) - Static method in class br.dev.rplus.cup.utils.StringUtils
Pads a string to a specified length with a specified character.
parse(String) - Static method in class br.dev.rplus.cup.log.LoggerLevel
Parses the given name and returns the corresponding LoggerLevel instance.
parse(String) - Method in class br.dev.rplus.cup.utils.DateUtils
Parses a date string into a Date object.
parseJsonArray(String) - Static method in class br.dev.rplus.cup.utils.Json
Converts a JSON string to a JSONArray.
parseJsonObject(String) - Static method in class br.dev.rplus.cup.utils.Json
Converts a JSON string to a JSONObject.
Parser - Class in br.dev.rplus.cup.utils
Utility class for parsing values to different types.
Parser() - Constructor for class br.dev.rplus.cup.utils.Parser
 
PATCH - Enum constant in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
HTTP PATCH method.
path(String) - Method in class br.dev.rplus.cup.request.UrlBuilder
Defines the path for the URLBuilder.
port(int) - Method in class br.dev.rplus.cup.request.UrlBuilder
Defines the port for the URLBuilder.
POST - Enum constant in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
HTTP POST method.
prettyPrintJson(String) - Static method in class br.dev.rplus.cup.utils.Json
Pretty prints a JSON string with indentation.
PROP_OS_ARCH - Enum constant in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
System property key for retrieving the OS architecture: os.arch.
PROP_OS_NAME - Enum constant in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
System property key for retrieving the OS name: os.name.
PROP_OS_VERSION - Enum constant in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
System property key for retrieving the OS version: os.version.
Properties - Class in br.dev.rplus.cup.config.environment
The Properties class provides utility methods to load and access configuration properties from a file, either from the file system or the application's resources.
PropertiesConfigSource - Class in br.dev.rplus.cup.config.source
ConfigSource implementation for classic .properties files.
PropertiesConfigSource(InputStream) - Constructor for class br.dev.rplus.cup.config.source.PropertiesConfigSource
Creates a new properties config source.
protocol(String) - Method in class br.dev.rplus.cup.request.UrlBuilder
Defines the protocol for the URLBuilder.
PUT - Enum constant in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
HTTP PUT method.

R

raw() - Method in class br.dev.rplus.cup.config.Value
Returns the raw wrapped object.
readTimeout(int) - Method in class br.dev.rplus.cup.request.HttpRequester
Sets the read timeout for the request.
RED - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for dark shade of the color red.
removeAccentsAndSpecialCharacters(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Removes accents and special characters from a string.
RESET - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape code for resetting the text color to the default color.
reverse(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Reverses the characters in a string.

S

send() - Method in class br.dev.rplus.cup.request.HttpRequester
Sends the HTTP request and retrieves the response.
sendRaw() - Method in class br.dev.rplus.cup.request.HttpRequester
Sends the HTTP request and retrieves the response.
setExportStrategy(ExportStrategy) - Method in class br.dev.rplus.cup.object.export.ExportData
 
setExportStrategy(ExportType) - Method in class br.dev.rplus.cup.object.export.ExportData
 
setLevel(String) - Method in class br.dev.rplus.cup.log.Logger
Sets the log level for the logger using a string value.
setLevel(Level) - Method in class br.dev.rplus.cup.log.Logger
Sets the log level for the logger.
StringUtils - Class in br.dev.rplus.cup.utils
Utility class for common operations on strings, including manipulation, conversion, and validation.

T

toCamelCase(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Converts a string to camel case.
toDouble(Object) - Static method in class br.dev.rplus.cup.utils.Parser
Parses the provided value to a double, if not possible returns 0.
toInt(Object) - Static method in class br.dev.rplus.cup.utils.Parser
Parses the provided value to an integer, if not possible returns 0.
toJson(Object) - Static method in class br.dev.rplus.cup.utils.Json
Converts a Java object to a JSON string.
toLong(Object) - Static method in class br.dev.rplus.cup.utils.Parser
Parses the provided value to a long, if not possible returns 0.
toSnakeCase(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Converts a string to snake case.
toString() - Method in class br.dev.rplus.cup.request.UrlBuilder
Builds the URL and returns it as a string.
toTimestamp(Date) - Static method in class br.dev.rplus.cup.utils.DateUtils
Converts a Date object to a Unix timestamp (in seconds).
toTitleCase(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Converts a string to title case.
toURI() - Method in class br.dev.rplus.cup.request.UrlBuilder
Builds the URL and returns it as a URI.
trace(String, Object...) - Method in class br.dev.rplus.cup.log.Logger
Logs a message at the TRACE level.
TRACE - Static variable in class br.dev.rplus.cup.log.LoggerLevel
The TRACE log level designates finer-grained informational events than the DEBUG.
trim(String) - Static method in class br.dev.rplus.cup.utils.StringUtils
Trims whitespace from the beginning and end of a string.
TypedValue - Class in br.dev.rplus.cup.enums
Class to store typed values.
TypedValue() - Constructor for class br.dev.rplus.cup.enums.TypedValue
 

U

UniqueIdentifiers - Class in br.dev.rplus.cup.utils
The UniqueIdentifiers class provides a set of static methods for generating various types of unique identifiers, including UUIDs (Versions 1 to 7) and ULIDs.
url(String) - Method in class br.dev.rplus.cup.request.HttpRequester
Defines the URL for the HTTP request.
url(String) - Method in class br.dev.rplus.cup.request.UrlBuilder
Defines the URL for the URLBuilder.
url(URI) - Method in class br.dev.rplus.cup.request.HttpRequester
Defines the URL for the HTTP request.
UrlBuilder - Class in br.dev.rplus.cup.request
Utility class for building URLs.

V

Value - Class in br.dev.rplus.cup.config
A flexible wrapper class that allows dynamic access and type-safe conversion of an underlying value, typically used for parsed configuration entries.
Value(Object) - Constructor for class br.dev.rplus.cup.config.Value
Constructs a new Value wrapping the provided object.
valueOf(String) - Static method in enum class br.dev.rplus.cup.enums.AnsiColors
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class br.dev.rplus.cup.object.export.ExportType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
Returns the enum constant of this class with the specified name.
values() - Static method in enum class br.dev.rplus.cup.enums.AnsiColors
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class br.dev.rplus.cup.object.export.ExportType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class br.dev.rplus.cup.request.HttpRequester.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.

W

warn(String, Object...) - Method in class br.dev.rplus.cup.log.Logger
Logs a message at the WARNING level.
WARN - Static variable in class br.dev.rplus.cup.log.LoggerLevel
The WARN log level designates potentially harmful situations.
WHITE - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for dark shade of the color white.
WINDOWS - Enum constant in enum class br.dev.rplus.cup.enums.OperatingSystemEnum
Represents the Windows operating system.

X

XML - Enum constant in enum class br.dev.rplus.cup.object.export.ExportType
XML export strategy.
XmlExportStrategy - Class in br.dev.rplus.cup.object.export.strategies
XML export strategy.
XmlExportStrategy() - Constructor for class br.dev.rplus.cup.object.export.strategies.XmlExportStrategy
 

Y

YamlConfigSource - Class in br.dev.rplus.cup.config.source
ConfigSource implementation for YAML files.
YamlConfigSource(InputStream) - Constructor for class br.dev.rplus.cup.config.source.YamlConfigSource
Creates a new YAML config source.
YELLOW - Enum constant in enum class br.dev.rplus.cup.enums.AnsiColors
The ANSI escape codes for dark shade of the color yellow.
A B C D E F G H I J L M N O P R S T U V W X Y 
All Classes and Interfaces|All Packages|Serialized Form