Class Platform.Darwin

  • Enclosing class:
    Platform

    private static final class Platform.Darwin
    extends Platform
    A Platform subclass representing the MacOS system.
    • Constructor Detail

      • Darwin

        public Darwin()
    • Method Detail

      • mapLibraryName

        public java.lang.String mapLibraryName​(java.lang.String libName)
        Description copied from class: Platform
        Maps from a generic library name (e.g. "c") to the platform specific library name.
        Overrides:
        mapLibraryName in class Platform
        Parameters:
        libName - The library name to map
        Returns:
        The mapped library name.
      • getLibraryNamePattern

        public java.lang.String getLibraryNamePattern()
        Description copied from class: Platform
        Gets the regex string used to match platform-specific libraries
        Overrides:
        getLibraryNamePattern in class Platform
        Returns:
      • getName

        public java.lang.String getName()
        Description copied from class: Platform
        Gets the name of this Platform.
        Overrides:
        getName in class Platform
        Returns:
        The name of this platform.
      • longSize

        public final int longSize()
        Description copied from class: Platform
        Gets the size of a C 'long' on the native platform.
        Specified by:
        longSize in class Platform
        Returns:
        the size of a long in bits