Package org.conscrypt

Class HostProperties

java.lang.Object
org.conscrypt.HostProperties

@Internal class HostProperties extends Object
Utilities for interacting with properties of the host being run on.
  • Field Details

  • Constructor Details

    • HostProperties

      private HostProperties()
  • Method Details

    • isWindows

      static boolean isWindows()
    • isOSX

      static boolean isOSX()
    • getTempDir

      static File getTempDir()
    • toDirectory

      private static File toDirectory(String path)
    • normalize

      private static String normalize(String value)
    • getOperatingSystem

      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). This plugin is used to generate platform-specific classifiers for artifacts.
    • getArchitecture

      private 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). This plugin is used to generate platform-specific classifiers for artifacts.