org.italiangrid.voms.util
Enum FilePermissionHelper.PosixFilePermission

java.lang.Object
  extended by java.lang.Enum<FilePermissionHelper.PosixFilePermission>
      extended by org.italiangrid.voms.util.FilePermissionHelper.PosixFilePermission
All Implemented Interfaces:
Serializable, Comparable<FilePermissionHelper.PosixFilePermission>
Enclosing class:
FilePermissionHelper

public static enum FilePermissionHelper.PosixFilePermission
extends Enum<FilePermissionHelper.PosixFilePermission>


Enum Constant Summary
ALL_PERMS
           
USER_RO
           
USER_RW
           
 
Method Summary
 String chmodForm()
           
 String statForm()
           
static FilePermissionHelper.PosixFilePermission valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FilePermissionHelper.PosixFilePermission[] 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

USER_RO

public static final FilePermissionHelper.PosixFilePermission USER_RO

USER_RW

public static final FilePermissionHelper.PosixFilePermission USER_RW

ALL_PERMS

public static final FilePermissionHelper.PosixFilePermission ALL_PERMS
Method Detail

values

public static FilePermissionHelper.PosixFilePermission[] 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 (FilePermissionHelper.PosixFilePermission c : FilePermissionHelper.PosixFilePermission.values())
    System.out.println(c);

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

valueOf

public static FilePermissionHelper.PosixFilePermission valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

statForm

public String statForm()

chmodForm

public String chmodForm()


Copyright © 2013. All Rights Reserved.