Class Platform

  • All Implemented Interfaces:

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


    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

      • parse

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