A C D G H I J L N O S U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AddressChecker - Class in org.icatproject.utils
-
Utility to check IP4 and IP6 addresses for acceptability.
- AddressChecker(String) - Constructor for class org.icatproject.utils.AddressChecker
-
Takes a space separated list of patterns to accept
- AddressCheckerException - Exception in org.icatproject.utils
- AddressCheckerException(String) - Constructor for exception org.icatproject.utils.AddressCheckerException
C
- check(String) - Method in class org.icatproject.utils.AddressChecker
-
Check that an IP address matches one of the desired patterns
- CheckedProperties - Class in org.icatproject.utils
-
Similar to the java.util.Properties class but provides methods to convert values to a specific type and throw an exception if this cannot be done.
- CheckedProperties() - Constructor for class org.icatproject.utils.CheckedProperties
- CheckedProperties.CheckedPropertyException - Exception in org.icatproject.utils
- ContainerGetter - Class in org.icatproject.utils
-
Is able to determine the type of the container
- ContainerGetter() - Constructor for class org.icatproject.utils.ContainerGetter
- ContainerGetter.ContainerType - Enum in org.icatproject.utils
-
The type of container
- convertValueToSiUnits(double, String) - Method in class org.icatproject.utils.IcatUnits
-
Converts a value into SI units.
D
- digest(Long, String, String) - Static method in class org.icatproject.utils.IcatSecurity
G
- getBoolean(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as a boolean.
- getBoolean(String, boolean) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as a boolean.
- getContainer() - Static method in class org.icatproject.utils.ContainerGetter
-
returns the type of the container in use
- getDouble(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as a double.
- getExitValue() - Method in class org.icatproject.utils.ShellCommand
-
Get the return value for the call
- getFile(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as a File.
- getMessage() - Method in class org.icatproject.utils.ShellCommand
-
Returns an error message based on the exit code and what was returned in stderr if it appears that there was an error else an empty string.
- getNonNegativeInt(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as an integer.
- getNonNegativeLong(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as an integer.
- getPath(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as a Path.
- getPositiveInt(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as an integer.
- getPositiveLong(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as an integer.
- getStderr() - Method in class org.icatproject.utils.ShellCommand
-
Get the stderr from the call
- getStdout() - Method in class org.icatproject.utils.ShellCommand
-
Get the stdout from the call
- getString(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as a string.
- getString(String, String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as a string.
- getURL(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return value as a URL.
- Glassfish - org.icatproject.utils.ContainerGetter.ContainerType
-
Glassfish
H
- has(String) - Method in class org.icatproject.utils.CheckedProperties
-
Return true if the property with the specified name exists
I
- IcatSecurity - Class in org.icatproject.utils
- IcatSecurity() - Constructor for class org.icatproject.utils.IcatSecurity
- IcatUnits - Class in org.icatproject.utils
-
Utility to perform conversions to SI (System) units.
- IcatUnits() - Constructor for class org.icatproject.utils.IcatUnits
-
Creates instance with any aliasing.
- IcatUnits(String) - Constructor for class org.icatproject.utils.IcatUnits
-
In addition to the standard names and prefixes, allows aliasing other terms for a unit.
- IcatUnits.Value - Class in org.icatproject.utils
-
Holds the numerical value and SI units for a quantity.
- isError() - Method in class org.icatproject.utils.ShellCommand
-
This considers an error to be a non-zero exit code or a non-empty stderr.
J
- JBoss - org.icatproject.utils.ContainerGetter.ContainerType
-
WildFly
L
- loadFromFile(String) - Method in class org.icatproject.utils.CheckedProperties
-
Load from the specified file name
- loadFromResource(String) - Method in class org.icatproject.utils.CheckedProperties
-
Load properties from a name resource.
N
- numericalValue - Variable in class org.icatproject.utils.IcatUnits.Value
O
- org.icatproject.utils - package org.icatproject.utils
S
- ShellCommand - Class in org.icatproject.utils
-
A wrapper around ProcessBuilder to allow stdout and stderr to be kept separate without risk of blocking.
- ShellCommand(String...) - Constructor for class org.icatproject.utils.ShellCommand
-
Construct a ShellCommand
- ShellCommand(Path, InputStream, String...) - Constructor for class org.icatproject.utils.ShellCommand
-
Construct a ShellCommand
- ShellCommand(List<String>) - Constructor for class org.icatproject.utils.ShellCommand
-
Construct a ShellCommand
U
- units - Variable in class org.icatproject.utils.IcatUnits.Value
- UNKNOWN - org.icatproject.utils.ContainerGetter.ContainerType
-
Container not recognised
V
- Value(double, String) - Constructor for class org.icatproject.utils.IcatUnits.Value
-
Instantiate with a numericalValue and units.
- valueOf(String) - Static method in enum org.icatproject.utils.ContainerGetter.ContainerType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.icatproject.utils.ContainerGetter.ContainerType
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages