- get(Object) - Method in class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
- get(Object) - Method in class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
- getCallerStackTraceElement() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the stack trace element belonging to the direct caller of this
method.
- getCallerStackTraceElement(Class<?>) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the stack trace element belonging to the caller of the callee.
- getCallerStackTraceElement(Class<?>...) - Static method in class org.refcodes.runtime.RuntimeUtility
-
- getCallerStackTraceElement(String) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the stack trace element belonging to the caller of the callee.
- getCallerStackTraceElement(String...) - Static method in class org.refcodes.runtime.RuntimeUtility
-
- getCallerType() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the type of the (
Class
) belonging to the direct caller of
this method.
- getCallerType(Class<?>) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the type of the (
Class
) belonging to the caller of the
callee.
- getCallerType(Class<?>...) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Same as
RuntimeUtility.getCallerType(Class)
with the difference that the passed
callees are tried out one after the other until the first caller
determined for a callee is returned.
- getComputerName() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the computer's name.
- getDelimiter() - Method in class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
- getEnvironmentVariable() - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- getEnvironmentVariable(String) - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- getEnvironmentVariable() - Method in interface org.refcodes.runtime.PropertyBuilder
-
Returns the according environment variable after having converted the key
as of KeyAccessor.getKey()
to an environment variable.
- getEnvironmentVariable(String) - Method in interface org.refcodes.runtime.PropertyBuilder
-
Returns the according environment variable after having converted the
provided key to an environment variable.
- getId() - Method in enum org.refcodes.runtime.Correlation
-
Retrieves the Correlation-ID assigned to the current
Thread
.
- getKey() - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- getLineBreak() - Static method in class org.refcodes.runtime.SystemUtility
-
- getMainClass() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the main class launching the application.
- getPid() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Bad hack to get the JVM's (process ID) PID of the process running your
JVM instance.
- getRuntimeProfilesPath() - Method in class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
- getSystemEncoding() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the encoding of the system (system's console) in use as of
System.out
.
- getSystemProperty() - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- getSystemProperty(String) - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- getSystemProperty() - Method in interface org.refcodes.runtime.PropertyBuilder
-
Returns the according system's property after having converted the key as
of KeyAccessor.getKey()
to a system property.
- getSystemProperty(String) - Method in interface org.refcodes.runtime.PropertyBuilder
-
Returns the according system's property after having converted the
provided key to a system property.
- getTempDir() - Static method in class org.refcodes.runtime.SystemUtility
-
Returns the operating saystem's temp folder.
- getTerminalHeight() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the height in characters of the system's terminal in use.
- getTerminalWidth() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the width in characters of the system's terminal in use.
- getType() - Method in class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
- getUname() - Static method in class org.refcodes.runtime.SystemUtility
-
If on a *nix alike system, this method returns the output of the "uname
-a" command: "uname" prints system information, "-a" instructs it to
print all information.
- ReflectionUtility - Class in org.refcodes.runtime
-
The Class ReflectionUtility.
- ReflectionUtility.NonExistingValueClass - Class in org.refcodes.runtime
-
This class indicates a non existing value in the name-to-value mapping.
- RequestCorrelation<B extends RequestCorrelation<B>> - Interface in org.refcodes.runtime
-
- retrieve(String, String) - Method in interface org.refcodes.runtime.RuntimeProperties.MutableRuntimeProperties
-
Retrieve.
- retrieve(String, String) - Method in interface org.refcodes.runtime.RuntimeProperties
-
Retrieve.
- retrieve(String, String) - Method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
Retrieve.
- retrieveFrom(String) - Method in class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
- retrieveFrom(String) - Method in class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
- retrieveFrom(String) - Method in interface org.refcodes.runtime.RuntimeProperties.MutableRuntimeProperties
-
Retrieve from.
- retrieveFrom(String) - Method in interface org.refcodes.runtime.RuntimeProperties
-
Retrieve from.
- retrieveFrom(String) - Method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
Retrieve from.
- retrieveTo(String) - Method in class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
- retrieveTo(String) - Method in class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
- retrieveTo(String) - Method in interface org.refcodes.runtime.RuntimeProperties.MutableRuntimeProperties
-
Retrieve to.
- retrieveTo(String) - Method in interface org.refcodes.runtime.RuntimeProperties
-
Retrieve to.
- retrieveTo(String) - Method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
Retrieve to.
- RuntimeProperties - Interface in org.refcodes.runtime
-
The Interface RuntimeProperties.
- RuntimeProperties.MutableRuntimeProperties - Interface in org.refcodes.runtime
-
The Interface MutableRuntimeProperties.
- RuntimeProperties.RuntimePropertiesBuilder - Interface in org.refcodes.runtime
-
The Interface RuntimePropertiesBuilder.
- RuntimePropertiesBuilderImpl - Class in org.refcodes.runtime.impls
-
- RuntimePropertiesBuilderImpl() - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
Instantiates a new runtime properties builder impl.
- RuntimePropertiesBuilderImpl(InputStream) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
Instantiates a new runtime properties builder impl.
- RuntimePropertiesBuilderImpl(Map<?, ?>) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
Instantiates a new runtime properties builder impl.
- RuntimePropertiesBuilderImpl(Properties) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
Instantiates a new runtime properties builder impl.
- RuntimePropertiesBuilderImpl(URL) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
Instantiates a new runtime properties builder impl.
- RuntimePropertiesBuilderImpl(File) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
Loads a properties file from the file directly or (if not found) from
first folder containing such a file as of the specification for the
method
RuntimeUtility.toAppConfigDirs()
.
- RuntimePropertiesBuilderImpl(String) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesBuilderImpl
-
Loads a properties file from the file directly or (if not found) from
first folder containing such a file as of the specification for the
method
RuntimeUtility.toAppConfigDirs()
.
- RuntimePropertiesImpl - Class in org.refcodes.runtime.impls
-
- RuntimePropertiesImpl(File) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
Instantiates a new runtime properties impl.
- RuntimePropertiesImpl(String) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
Instantiates a new runtime properties impl.
- RuntimePropertiesImpl(Properties) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
Instantiates a new runtime properties impl.
- RuntimePropertiesImpl(ProfileProperties) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
Instantiates a new runtime properties impl.
- RuntimePropertiesImpl(Map<?, ?>) - Constructor for class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
Instantiates a new runtime properties impl.
- RuntimeUtility - Class in org.refcodes.runtime
-
Utility for acquiring runtime information on software systems, classes or
objects.
- Terminal - Enum in org.refcodes.runtime
-
Enumeration with the (relevant) terminals.
- toAbsolutePathFromEnvironment(String, String...) - Static method in class org.refcodes.runtime.EnvironmentUtility
-
This method converts a relative path to an absolute path relative to the
path specified in the first system property provided being set with a
value.
- toAbsoluteUserHomePath(String) - Static method in class org.refcodes.runtime.EnvironmentUtility
-
This method converts a relative path to an absolute path relative to the
user's home folder.
- toAnsiConsole() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines whether ANSI escape sequences are forced to be supported or
not by REFCODES.ORG artifacts.
- toAppBaseDir() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Generates the base path relative to the given class location.
- toAppConfigDirs() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns a list of (existing) folders which are candidates for external
resources.
- toBeanAttributes(Object) - Static method in class org.refcodes.runtime.ReflectionUtility
-
This method uses reflection on order to analyze a given object.
- toClass(StackTraceElement) - Static method in class org.refcodes.runtime.RuntimeUtility
-
- toClassName(StackTraceElement) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the class name part from a stack trace element.
- toClassName() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the class name of the caller of this method without the fully
qualified package name part.
- toClassName(String) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the class name part from a fully qualified class name (which has
the fully qualified package name as part of its name).
- toClone(T) - Static method in class org.refcodes.runtime.RuntimeUtility
-
A
Cloneable
object cannot directly be cloned by casting it to be
Cloneable
:-( Thereforee this method does the job.
- toConsoleHeight() - Static method in class org.refcodes.runtime.SystemUtility
-
Does some calculation to always return a sound console height (never
returns -1).
- toConsoleWidth() - Static method in class org.refcodes.runtime.SystemUtility
-
Does some calculation to always return a sound console width (never
returns -1).
- toDataStructure(String) - Method in class org.refcodes.runtime.impls.RuntimePropertiesImpl
-
- toEnvironmentVariable() - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- toEnvironmentVariable(String) - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- toEnvironmentVariable() - Method in interface org.refcodes.runtime.PropertyBuilder
-
Converts the key as of KeyAccessor.getKey()
to an environment variable.
- toEnvironmentVariable(String) - Method in interface org.refcodes.runtime.PropertyBuilder
-
Converts the provided key to an environment variable.
- toFullCorrelationId() - Static method in enum org.refcodes.runtime.Correlation
-
Returns a
String
with all Correlation-IDs found separated by a
Delimiter.CORRELATION_ID
character from each other.
- toFullyQualifiedClassName(StackTraceElement) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the fully qualified class name from a stack trace element.
- toFullyQualifiedClassName() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the fully qualified method name of the caller of this method.
- toFullyQualifiedMethodName(StackTraceElement) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the fully qualified method name from a stack trace element.
- toFullyQualifiedMethodName() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the fully qualified method name of the caller of this method.
- toFullyQualifiedPackageName() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the fully qualified package name of the caller of this method
without the class name part.
- toFullyQualifiedPackageName(StackTraceElement) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the fully qualified package name from a stack trace element.
- toFullyQualifiedPackageName(String) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the fully qualified package name part from a fully qualified
class name (which has the fully qualified package name as part of its
name).
- toLineBreak(int) - Static method in class org.refcodes.runtime.SystemUtility
-
Uses
SystemUtility.isUseLineBreak(int)
to retrieve the character sequence
required to suffix to a line in order to get a line break without risking
any empty lines as of automatic line wrapping.
- toMethodName(StackTraceElement) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the method name from a stack trace element.
- toMethodName() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Retrieves the fully qualified method name of the caller of this method.
- toNormalized(String, char) - Static method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
To normalized.
- toOperatingSystem() - Static method in enum org.refcodes.runtime.OperatingSystem
-
Determines the operating system your application is currently running on.
- toPlatformSpecificPath(String) - Static method in class org.refcodes.runtime.EnvironmentUtility
-
This method concerts the given path to a platform specific path, mainly
replacing the path separator accordingly.
- toPropertyValue(String, SystemProperty, EnvironmentProperty...) - Static method in class org.refcodes.runtime.SystemUtility
-
Gets the value for the provided properties, if non was found then the
default value is taken.
- toPropertyValue(SystemProperty, EnvironmentProperty...) - Static method in class org.refcodes.runtime.SystemUtility
-
Gets the value for the provided properties, if non was found then null is
returned.
- toRuntimeProperties(Properties) - Static method in interface org.refcodes.runtime.RuntimeProperties
-
Creates a PropertiesBuilder
instance filled with the provided
Properties
.
- toRuntimeProperties(Map<?, ?>) - Static method in interface org.refcodes.runtime.RuntimeProperties
-
Creates a PropertiesBuilder
instance filled with the provided
Properties
.
- toRuntimeProperties(InputStream) - Static method in interface org.refcodes.runtime.RuntimeProperties
-
- toRuntimeProperties(URL) - Static method in interface org.refcodes.runtime.RuntimeProperties
-
Loads the properties from the given
URL
.
- toRuntimeProperties(String) - Static method in interface org.refcodes.runtime.RuntimeProperties
-
Loads a properties file from the file directly or (if not found) from
first folder containing such a file as of the specification for the
method
RuntimeUtility.toAppConfigDirs()
.
- toRuntimeProperties(File) - Static method in interface org.refcodes.runtime.RuntimeProperties
-
Loads a properties file from the file directly or (if not found) from
first folder containing such a file as of the specification for the
method
RuntimeUtility.toAppConfigDirs()
.
- toRuntimePropertiesBuilder(Properties) - Static method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
Creates a PropertiesBuilder
instance filled with the provided
Properties
.
- toRuntimePropertiesBuilder(Map<?, ?>) - Static method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
Creates a PropertiesBuilder
instance filled with the provided
Properties
.
- toRuntimePropertiesBuilder(InputStream) - Static method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
- toRuntimePropertiesBuilder(URL) - Static method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
Loads the properties from the given
URL
.
- toRuntimePropertiesBuilder(String) - Static method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
Loads a properties file from the file directly or (if not found) from
first folder containing such a file as of the specification for the
method
RuntimeUtility.toAppConfigDirs()
.
- toRuntimePropertiesBuilder(File) - Static method in interface org.refcodes.runtime.RuntimeProperties.RuntimePropertiesBuilder
-
Loads a properties file from the file directly or (if not found) from
first folder containing such a file as of the specification for the
method
RuntimeUtility.toAppConfigDirs()
.
- toShell() - Static method in enum org.refcodes.runtime.Shell
-
Tries to determine the command line interpreter (CLI) - if any - this
process is running in, e.g. whether we are running in a DOS console
environment or a Linux alike Shell.
- toStackTrace() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Gets the stack trace for the current thread.
- toString(String, String) - Static method in class org.refcodes.runtime.RuntimeUtility
-
Creates a string of a super class's
Object.toString()
method and
the provided "toString" text.
- toSystemInfo() - Static method in class org.refcodes.runtime.SystemUtility
-
Prints out all available system information from this Artifac's point of
view.
- toSystemProperty() - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- toSystemProperty(String) - Method in class org.refcodes.runtime.impls.PropertyBuilderImpl
-
- toSystemProperty() - Method in interface org.refcodes.runtime.PropertyBuilder
-
Converts the key as of KeyAccessor.getKey()
to a system property.
- toSystemProperty(String) - Method in interface org.refcodes.runtime.PropertyBuilder
-
Converts the provided key to a system property.
- toTerminal() - Static method in enum org.refcodes.runtime.Terminal
-
Determines the terminal your application is currently in.