- geCallerType() - Static method in class org.refcodes.runtime.RuntimeUtility
-
Returns the type of the (
Class
) belonging to the direct caller of
this method.
- 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(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.
- getCommandLineInterpreter() - Static method in class org.refcodes.runtime.SystemUtility
-
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.
- getComputerName() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the computer's name.
- getConsoleHeight() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the height in characters of the system's console in use.
- getConsoleWidth() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the width in characters of the system's console in use.
- getCorrelationId() - Method in class org.refcodes.runtime.impls.ProcessCorrelationImpl
-
- getCorrelationId() - Method in interface org.refcodes.runtime.ProcessCorrelation
-
Retrieves the correlation ID assigned to the current
Thread
.
- getInstance() - Method in class org.refcodes.runtime.impls.ProcessCorrelationSingleton
-
- 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.
- getOperatingSystem() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the operating system your application is currently running on.
- 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.
- getSystemEncoding() - Static method in class org.refcodes.runtime.SystemUtility
-
Determines the encoding of the system (system's console) in use as of
System.out
.
- getTempDir() - Static method in class org.refcodes.runtime.SystemUtility
-
Returns the operating saystem's temp folder.
- 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.
- 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.
- 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.
- 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).
- 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.
- 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.
- 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.