Class Platform

  • All Implemented Interfaces:
    java.io.Serializable

    public final class Platform
    extends java.lang.Object
    implements java.io.Serializable
    This class provides an enumeration of the supported platforms.

    Concurrency

    Instances of this class are immutable after construction and contain no mutable static data. Therefore, they are threadsafe.
    See Also:
    Serialized Form
    • Field Detail

      • UNKNOWN

        public static final Platform UNKNOWN
      • MAC_OSX

        public static final Platform MAC_OSX
      • WINDOWS

        public static final Platform WINDOWS
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • parse

        public static Platform parse​(java.lang.String text)
        Parse the text and return the Platform object which is represented if any.
        Parameters:
        text - textual representation of the platform
        Returns:
        Platform represented by the text value