ewe.io
Interface FilePermissions

All Known Implementing Classes:
FileBase

public interface FilePermissions


Field Summary
static int ALL_DOS_FLAGS
          All the FLAG_ flags together.
static int ALL_UNIX_PERMISSIONS
          All the OWNER_ and GROUP_ and OTHER_ permissions together.
static int FLAG_ARCHIVE
          A DOS type file flag.
static int FLAG_HIDDEN
          A DOS type file flag.
static int FLAG_READONLY
          A permission/flag for files.
static int FLAG_ROM
          A DOS type file flag - indicates the flag is in ROM.
static int FLAG_ROMMODULE
          A DOS type file flag - indicates the flag is in ROM and is designed to execute in place.
static int FLAG_SYSTEM
          A DOS type file flag.
static int GROUP_EXECUTE
          A UNIX type permission.
static int GROUP_READ
          A UNIX type permission.
static int GROUP_WRITE
          A UNIX type permission.
static int OTHER_EXECUTE
          A UNIX type permission.
static int OTHER_READ
          A UNIX type permission.
static int OTHER_WRITE
          A UNIX type permission.
static int OWNER_EXECUTE
          A UNIX type permission.
static int OWNER_READ
          A UNIX type permission.
static int OWNER_WRITE
          A UNIX type permission.
 

Field Detail

FLAG_HIDDEN

public static final int FLAG_HIDDEN
A DOS type file flag.

See Also:
Constant Field Values

FLAG_SYSTEM

public static final int FLAG_SYSTEM
A DOS type file flag.

See Also:
Constant Field Values

FLAG_ARCHIVE

public static final int FLAG_ARCHIVE
A DOS type file flag.

See Also:
Constant Field Values

FLAG_READONLY

public static final int FLAG_READONLY
A permission/flag for files. This flag can be used with DOS type file systems AND with UNIX systems. On a UNIX system, attempting to set this flag will switch off write permission for all users (owner/group/Other), and attempting to clear this flag will switch on write permission to owner only.

See Also:
Constant Field Values

FLAG_ROM

public static final int FLAG_ROM
A DOS type file flag - indicates the flag is in ROM.

See Also:
Constant Field Values

FLAG_ROMMODULE

public static final int FLAG_ROMMODULE
A DOS type file flag - indicates the flag is in ROM and is designed to execute in place.

See Also:
Constant Field Values

OWNER_READ

public static final int OWNER_READ
A UNIX type permission.

See Also:
Constant Field Values

OWNER_WRITE

public static final int OWNER_WRITE
A UNIX type permission.

See Also:
Constant Field Values

OWNER_EXECUTE

public static final int OWNER_EXECUTE
A UNIX type permission.

See Also:
Constant Field Values

GROUP_READ

public static final int GROUP_READ
A UNIX type permission.

See Also:
Constant Field Values

GROUP_WRITE

public static final int GROUP_WRITE
A UNIX type permission.

See Also:
Constant Field Values

GROUP_EXECUTE

public static final int GROUP_EXECUTE
A UNIX type permission.

See Also:
Constant Field Values

OTHER_READ

public static final int OTHER_READ
A UNIX type permission.

See Also:
Constant Field Values

OTHER_WRITE

public static final int OTHER_WRITE
A UNIX type permission.

See Also:
Constant Field Values

OTHER_EXECUTE

public static final int OTHER_EXECUTE
A UNIX type permission.

See Also:
Constant Field Values

ALL_UNIX_PERMISSIONS

public static final int ALL_UNIX_PERMISSIONS
All the OWNER_ and GROUP_ and OTHER_ permissions together.

See Also:
Constant Field Values

ALL_DOS_FLAGS

public static final int ALL_DOS_FLAGS
All the FLAG_ flags together.

See Also:
Constant Field Values