Class PlatformAdapter


  • public class PlatformAdapter
    extends java.lang.Object
    Provides an API for platform specific features.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PlatformAdapter.OS  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static PlatformAdapter.OS os
      Stores the operating system we are running on.
    • Constructor Summary

      Constructors 
      Constructor Description
      PlatformAdapter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PlatformAdapter.OS getOs()
      Gets the operating system.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • os

        private static PlatformAdapter.OS os
        Stores the operating system we are running on. Shouldn't change during execution, so singleton.
    • Constructor Detail

      • PlatformAdapter

        public PlatformAdapter()
    • Method Detail

      • getOs

        public static PlatformAdapter.OS getOs()
        Gets the operating system.
        Returns:
        the operating system