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 enumEnumeration of architectures.(package private) static enumEnumeration of operating systems. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final HostProperties.Architectureprivate static final Logger(package private) static final HostProperties.OperatingSystemprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static HostProperties.ArchitecturegetArchitecture(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.OperatingSystemgetOperatingSystem(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 booleanisOSX()(package private) static booleanprivate static Stringprivate static FiletoDirectory(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.
-