public enum SqlJetFileAccesPermission extends java.lang.Enum<SqlJetFileAccesPermission>
ISqlJetFileSystem.access(java.io.File, SqlJetFileAccesPermission)
method.
They determine what kind of permissions the access() method is looking for.Enum Constant and Description |
---|
EXISTS
Simply checks whether the file exists.
|
READONLY
Checks whether the file is readable.
|
READWRITE
Checks whether the file is both readable and writable.
|
Modifier and Type | Method and Description |
---|---|
static SqlJetFileAccesPermission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlJetFileAccesPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlJetFileAccesPermission EXISTS
public static final SqlJetFileAccesPermission READWRITE
public static final SqlJetFileAccesPermission READONLY
public static SqlJetFileAccesPermission[] values()
for (SqlJetFileAccesPermission c : SqlJetFileAccesPermission.values()) System.out.println(c);
public static SqlJetFileAccesPermission valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2009-2010 TMate Software Ltd. All Rights Reserved.