public class PermTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
PERMTYPE_OTHER |
static byte |
PERMTYPE_READ |
static byte |
PERMTYPE_WRITE |
static byte |
USERTYPE_GROUP |
static byte |
USERTYPE_OTHER |
static byte |
USERTYPE_OWNER |
Constructor and Description |
---|
PermTest() |
Modifier and Type | Method and Description |
---|---|
static int |
clearPerm(int perm,
int usertype,
int permtype) |
static int |
getPerm(int usertype,
int permtype) |
static boolean |
hasPerms(int perm,
int usertype,
int permtype) |
static void |
main(java.lang.String[] args) |
static int |
setPerm(int perm,
int usertype,
int permtype) |
public static final byte USERTYPE_OWNER
public static final byte USERTYPE_GROUP
public static final byte USERTYPE_OTHER
public static final byte PERMTYPE_READ
public static final byte PERMTYPE_WRITE
public static final byte PERMTYPE_OTHER
public static void main(java.lang.String[] args)
public static boolean hasPerms(int perm, int usertype, int permtype)
public static int setPerm(int perm, int usertype, int permtype)
public static int clearPerm(int perm, int usertype, int permtype)
public static int getPerm(int usertype, int permtype)