org.virtualbox_5_2
Enum PathStyle

java.lang.Object
  extended by java.lang.Enum<PathStyle>
      extended by org.virtualbox_5_2.PathStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PathStyle>

public enum PathStyle
extends java.lang.Enum<PathStyle>

The path style of a system. (Values matches the RTPATH_STR_F_STYLE_XXX defines in iprt/path.h!) Interface ID: {97303A5B-42E8-0A55-D16F-D2A92C295261}


Enum Constant Summary
DOS
          DOS-style paths with forward and backward slashes, drive letters and UNC.
UNIX
          UNIX-style paths with forward slashes only.
Unknown
          The path style is not known, most likely because the guest additions aren't active yet.
 
Method Summary
static PathStyle fromValue(long v)
           
static PathStyle fromValue(java.lang.String v)
           
 int value()
           
static PathStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PathStyle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DOS

public static final PathStyle DOS
DOS-style paths with forward and backward slashes, drive letters and UNC. Known from DOS, OS/2 and Windows.


UNIX

public static final PathStyle UNIX
UNIX-style paths with forward slashes only.


Unknown

public static final PathStyle Unknown
The path style is not known, most likely because the guest additions aren't active yet.

Method Detail

values

public static PathStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PathStyle c : PathStyle.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PathStyle valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static PathStyle fromValue(long v)

fromValue

public static PathStyle fromValue(java.lang.String v)