Package org.testfx.internal
Class PlatformAdapter
- java.lang.Object
-
- org.testfx.internal.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.
-
-
-
Field Detail
-
os
private static PlatformAdapter.OS os
Stores the operating system we are running on. Shouldn't change during execution, so singleton.
-
-
Method Detail
-
getOs
public static PlatformAdapter.OS getOs()
Gets the operating system.- Returns:
- the operating system
-
-