org.eclipse.jetty.toolchain.test
Class OS
java.lang.Object
org.eclipse.jetty.toolchain.test.OS
public final class OS
- extends Object
Some simple OS specific utilities.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OS_NAME
public static final String OS_NAME
IS_WINDOWS
public static final boolean IS_WINDOWS
IS_OSX
public static final boolean IS_OSX
IS_LINUX
public static final boolean IS_LINUX
IS_UNIX
public static final boolean IS_UNIX
LN
public static final String LN
separators
public static String separators(String path)
- Convert path separators to the System path separators.
This helps ensure that the paths provided in the unit tests work equally as well on unix / osx / windows.
- Parameters:
path
- the raw path to convert
- Returns:
- the converted path
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.