Package com.github.webdriverextensions
Class Utils
- java.lang.Object
-
- com.github.webdriverextensions.Utils
-
public class Utils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringFAKED_BIT_PROPERTY_KEYstatic StringFAKED_OS_NAME_PROPERTY_KEY
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringdebugInfo(Driver driver)static StringdebugInfo(InstallDriversMojo mojo)static StringdebugInfo(InstallDriversMojo mojo, Driver driver)static StringdetectPlatform()static StringdirectoryToString(Path path)static booleanis64Bit()static booleanisLinux()static booleanisMac()static booleanisWindows()static booleanisWindows10()static Stringquote(String text)static Stringquote(URL url)static Stringquote(Path path)
-
-
-
Field Detail
-
FAKED_OS_NAME_PROPERTY_KEY
public static final String FAKED_OS_NAME_PROPERTY_KEY
- See Also:
- Constant Field Values
-
FAKED_BIT_PROPERTY_KEY
public static final String FAKED_BIT_PROPERTY_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
isWindows
public static boolean isWindows()
-
isWindows10
public static boolean isWindows10()
-
isMac
public static boolean isMac()
-
isLinux
public static boolean isLinux()
-
detectPlatform
public static String detectPlatform()
-
is64Bit
public static boolean is64Bit()
-
debugInfo
public static String debugInfo(InstallDriversMojo mojo)
-
debugInfo
public static String debugInfo(InstallDriversMojo mojo, Driver driver)
-
-