Class PlatformAdapter

java.lang.Object
org.testfx.internal.PlatformAdapter

public class PlatformAdapter extends Object
Provides an API for platform specific features.
  • Field Details

    • os

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

    • PlatformAdapter

      public PlatformAdapter()
  • Method Details

    • getOs

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