Package org.conscrypt
Class HostProperties
java.lang.Object
org.conscrypt.HostProperties
Utilities for interacting with properties of the host being run on.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static enum
Enumeration of architectures.(package private) static enum
Enumeration of operating systems. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final HostProperties.Architecture
private static final Logger
(package private) static final HostProperties.OperatingSystem
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static HostProperties.Architecture
getArchitecture
(String value) Normalizes the os.arch value into the value used by the Maven os plugin (https://github.com/trustin/os-maven-plugin).private static HostProperties.OperatingSystem
getOperatingSystem
(String value) Normalizes the os.name value into the value used by the Maven os plugin (https://github.com/trustin/os-maven-plugin).(package private) static File
(package private) static boolean
isOSX()
(package private) static boolean
private static String
private static File
toDirectory
(String path)
-
Field Details
-
logger
-
TEMP_DIR_PROPERTY_NAME
- See Also:
-
OS
-
ARCH
-
-
Constructor Details
-
HostProperties
private HostProperties()
-
-
Method Details
-
isWindows
static boolean isWindows() -
isOSX
static boolean isOSX() -
getTempDir
-
toDirectory
-
normalize
-
getOperatingSystem
Normalizes the os.name value into the value used by the Maven os plugin (https://github.com/trustin/os-maven-plugin). This plugin is used to generate platform-specific classifiers for artifacts. -
getArchitecture
Normalizes the os.arch value into the value used by the Maven os plugin (https://github.com/trustin/os-maven-plugin). This plugin is used to generate platform-specific classifiers for artifacts.
-