Index

A C F G I L O P R S T U 
All Classes and Interfaces|All Packages

A

addArg(String) - Method in class one.jpro.platform.utils.CommandRunner
Adds a command line argument to the list of existing list of command line arguments
addArgs(String...) - Method in class one.jpro.platform.utils.CommandRunner
Adds a varargs list of arguments to the existing list of command line of arguments
addArgs(Collection<String>) - Method in class one.jpro.platform.utils.CommandRunner
Adds a collection of arguments to the existing list of command line of arguments
addSecretArg(String) - Method in class one.jpro.platform.utils.CommandRunner
Adds a command line argument to the list of existing list of command line arguments, marking it as secret argument, in order to avoid logging
addToEnv(String, String) - Method in class one.jpro.platform.utils.CommandRunner
Adds a pair (key, value) to the environment map of the process.

C

CommandRunner - Class in one.jpro.platform.utils
Run processes based on command line arguments.
CommandRunner(String...) - Constructor for class one.jpro.platform.utils.CommandRunner
Initializes CommandRunner with default logger and command line arguments.
CommandRunner(Logger, String...) - Constructor for class one.jpro.platform.utils.CommandRunner
Initializes CommandRunner with specified logger and command line arguments.
CopyUtil - Class in one.jpro.platform.utils
 
CopyUtil() - Constructor for class one.jpro.platform.utils.CopyUtil
 

F

FreezeDetector - Class in one.jpro.platform.utils
This class allows you to track whether the JavaFX Application Thread is frozen for a given time.
FreezeDetector() - Constructor for class one.jpro.platform.utils.FreezeDetector
 
FreezeDetector(Duration) - Constructor for class one.jpro.platform.utils.FreezeDetector
 
FreezeDetector(Duration, BiConsumer<Thread, Duration>) - Constructor for class one.jpro.platform.utils.FreezeDetector
 

G

getCmd() - Method in class one.jpro.platform.utils.CommandRunner
 
getCmdList() - Method in class one.jpro.platform.utils.CommandRunner
 
getLastResponse() - Method in class one.jpro.platform.utils.CommandRunner
Gets the last line of the output process.
getModifierKey() - Method in class one.jpro.platform.utils.UserPlatform
Returns the modifier key for the current platform.
getModifierKey(WebAPI) - Static method in class one.jpro.platform.utils.UserPlatform
Returns the modifier key for the platform determined by the given WebAPI.
getModifierKeyCombination() - Method in class one.jpro.platform.utils.UserPlatform
Returns the modifier key combination for the current platform.
getModifierKeyCombination(WebAPI) - Static method in class one.jpro.platform.utils.UserPlatform
Returns the modifier key combination for the platform determined by the given WebAPI.
getResponse() - Method in class one.jpro.platform.utils.CommandRunner
Gets the response of the process as single string.
getResponses() - Method in class one.jpro.platform.utils.CommandRunner
Gets the response of the process as list of lines.

I

isAarch64() - Static method in class one.jpro.platform.utils.PlatformUtils
Returns true if the operating system architecture is arm64 (aarch64).
isAndroid() - Static method in class one.jpro.platform.utils.PlatformUtils
Returns true if the platform is Android.
isDesktop() - Static method in class one.jpro.platform.utils.PlatformUtils
Checks if the current system is a desktop platform.
isEmbedded() - Static method in class one.jpro.platform.utils.PlatformUtils
Returns true if the platform is embedded.
isIOS() - Static method in class one.jpro.platform.utils.PlatformUtils
Returns true if the operating system is iOS.
isLinux() - Static method in class one.jpro.platform.utils.PlatformUtils
Returns true if the operating system is a form of Linux.
isLinux() - Method in class one.jpro.platform.utils.UserPlatform
 
isLinux(WebAPI) - Static method in class one.jpro.platform.utils.UserPlatform
Determines if the platform from the WebAPI is Linux.
isMac() - Static method in class one.jpro.platform.utils.PlatformUtils
Returns true if the operating system is a form of macOS.
isMac() - Method in class one.jpro.platform.utils.UserPlatform
 
isMac(WebAPI) - Static method in class one.jpro.platform.utils.UserPlatform
Determines if the platform from the WebAPI is Mac.
isMobile() - Method in class one.jpro.platform.utils.UserPlatform
Determines if the platform is a mobile environment.
isMobile(WebAPI) - Static method in class one.jpro.platform.utils.UserPlatform
Determines if the platform from the WebAPI is mobile.
isTreeShowing(Node) - Static method in class one.jpro.platform.utils.TreeShowing
 
isWeb() - Method in class one.jpro.platform.utils.UserPlatform
Determines if the platform is a web (JPro) environment.
isWeb(WebAPI) - Static method in class one.jpro.platform.utils.UserPlatform
Determines if the current environment is web-based (JPro).
isWindows() - Static method in class one.jpro.platform.utils.PlatformUtils
Returns true if the operating system is a form of Windows.
isWindows() - Method in class one.jpro.platform.utils.UserPlatform
 
isWindows(WebAPI) - Static method in class one.jpro.platform.utils.UserPlatform
Determines if the platform from the WebAPI is Windows.

L

logger - Static variable in interface one.jpro.platform.utils.OpenLink
 

O

one.jpro.platform.utils - module one.jpro.platform.utils
The module descriptor for the JPro Utils module.
one.jpro.platform.utils - package one.jpro.platform.utils
 
OpenLink - Interface in one.jpro.platform.utils
Launches the default browser of the platform as a separate application process.
openURL(String) - Static method in interface one.jpro.platform.utils.OpenLink
Opens the given URL string in the browser.
openURL(URL) - Static method in interface one.jpro.platform.utils.OpenLink
Opens the given URL in the browser.

P

PlatformUtils - Class in one.jpro.platform.utils
Platform utilities.
PlatformUtils() - Constructor for class one.jpro.platform.utils.PlatformUtils
 

R

run(String) - Method in class one.jpro.platform.utils.CommandRunner
Runs a process with a given set of command line arguments.
run(String, File) - Method in class one.jpro.platform.utils.CommandRunner
Runs a process with a given set of command line arguments, in a given working directory.
runAsync(String) - Method in class one.jpro.platform.utils.CommandRunner
Runs a process asynchronously with a given set of command line arguments.
runAsync(String, boolean) - Method in class one.jpro.platform.utils.CommandRunner
Runs a process asynchronously with a given set of command line arguments.
runAsync(String, File) - Method in class one.jpro.platform.utils.CommandRunner
Runs a process asynchronously with a given set of command line arguments, in a given working directory.
runAsync(String, File, boolean) - Method in class one.jpro.platform.utils.CommandRunner
Runs a process asynchronously with a given set of command line arguments, in a given working directory.
runTimed(String, long) - Method in class one.jpro.platform.utils.CommandRunner
Runs a process with a given set of command line arguments within a given time frame.
runTimed(String, File, long) - Method in class one.jpro.platform.utils.CommandRunner
Runs a process with a given set of command line arguments, in a given working directory, within a given time frame

S

setCopyOnClick(Node, String) - Static method in class one.jpro.platform.utils.CopyUtil
Sets up the given node so that clicking it copies the provided text.
setInteractive(boolean) - Method in class one.jpro.platform.utils.CommandRunner
When set to true, it will enable user interaction during the process.
setPrintToConsole(boolean) - Method in class one.jpro.platform.utils.CommandRunner
When set to true, it will enable the process output to be printed to the console.
simulateNative() - Static method in class one.jpro.platform.utils.UserPlatform
Used for unit test and example application
simulateNative(String) - Static method in class one.jpro.platform.utils.UserPlatform
Used for unit test and example application
simulateWeb(String, String) - Static method in class one.jpro.platform.utils.UserPlatform
Used for unit test and example application

T

treeShowing(Node) - Static method in class one.jpro.platform.utils.TreeShowing
 
TreeShowing - Class in one.jpro.platform.utils
The TreeShowing class provides access to the internal "treeShowing" property of JavaFX Nodes.
TreeShowing() - Constructor for class one.jpro.platform.utils.TreeShowing
 

U

UserPlatform - Class in one.jpro.platform.utils
A utility class for detecting user platform properties.
UserPlatform(WebAPI) - Constructor for class one.jpro.platform.utils.UserPlatform
Creates a UserPlatform instance from a WebAPI.
A C F G I L O P R S T U 
All Classes and Interfaces|All Packages