org.gwe.persistence.model
Enum OSAppFolder

java.lang.Object
  extended by java.lang.Enum<OSAppFolder>
      extended by org.gwe.persistence.model.OSAppFolder
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OSAppFolder>

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

Since:
Aug 22, 2007
Author:
Marco Ruiz

Enum Constant Summary
BINARIES
           
BUNDLES
           
CONFIGURATIONS
           
DATABASE
           
DOCUMENTS
           
HOME
           
LIBRARIES
           
LOGS
           
ROOT
           
SCRIPTS
           
SPOOL
           
VFS
           
WORKSPACE
           
 
Method Summary
 java.lang.String getRelativeTo(java.lang.String dir)
           
 java.lang.String getRelativeToUserDir()
           
 java.lang.String toString()
           
static OSAppFolder valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OSAppFolder[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ROOT

public static final OSAppFolder ROOT

HOME

public static final OSAppFolder HOME

BINARIES

public static final OSAppFolder BINARIES

LIBRARIES

public static final OSAppFolder LIBRARIES

CONFIGURATIONS

public static final OSAppFolder CONFIGURATIONS

BUNDLES

public static final OSAppFolder BUNDLES

DOCUMENTS

public static final OSAppFolder DOCUMENTS

DATABASE

public static final OSAppFolder DATABASE

LOGS

public static final OSAppFolder LOGS

SCRIPTS

public static final OSAppFolder SCRIPTS

SPOOL

public static final OSAppFolder SPOOL

WORKSPACE

public static final OSAppFolder WORKSPACE

VFS

public static final OSAppFolder VFS
Method Detail

values

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

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

valueOf

public static OSAppFolder 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

getRelativeToUserDir

public java.lang.String getRelativeToUserDir()

getRelativeTo

public java.lang.String getRelativeTo(java.lang.String dir)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<OSAppFolder>


Copyright © 2007-2009. All Rights Reserved.