KIE NIO.2 :: Model 6.0.0.CR4-Pre1

org.kie.commons.java.nio.file.attribute
Enum PosixFilePermission

java.lang.Object
  extended by java.lang.Enum<PosixFilePermission>
      extended by org.kie.commons.java.nio.file.attribute.PosixFilePermission
All Implemented Interfaces:
Serializable, Comparable<PosixFilePermission>

public enum PosixFilePermission
extends Enum<PosixFilePermission>


Enum Constant Summary
GROUP_EXECUTE
           
GROUP_READ
           
GROUP_WRITE
           
OTHERS_EXECUTE
           
OTHERS_READ
           
OTHERS_WRITE
           
OWNER_EXECUTE
           
OWNER_READ
           
OWNER_WRITE
           
 
Method Summary
static PosixFilePermission valueOf(String name)
          Returns the enum constant of this type with the specified name.
static 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

OWNER_READ

public static final PosixFilePermission OWNER_READ

OWNER_WRITE

public static final PosixFilePermission OWNER_WRITE

OWNER_EXECUTE

public static final PosixFilePermission OWNER_EXECUTE

GROUP_READ

public static final PosixFilePermission GROUP_READ

GROUP_WRITE

public static final PosixFilePermission GROUP_WRITE

GROUP_EXECUTE

public static final PosixFilePermission GROUP_EXECUTE

OTHERS_READ

public static final PosixFilePermission OTHERS_READ

OTHERS_WRITE

public static final PosixFilePermission OTHERS_WRITE

OTHERS_EXECUTE

public static final PosixFilePermission OTHERS_EXECUTE
Method Detail

values

public static 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 (PosixFilePermission c : 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 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

KIE NIO.2 :: Model 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.