@ParametersAreNonnullByDefault public final class ModeParser extends Object
Such instructions are, for instance, "u+r,go-w".
What is currently supported:
u, g and o; an empty
string is equivalent to ugo; a is NOT supported;+ and -; = is NOT supported;
r, w and x; X is NOT supported.| Modifier and Type | Method and Description |
|---|---|
static PermissionsSet |
buildPermissionsSet(String instructions)
Build a permission change object from an instruction string
|
public static PermissionsSet buildPermissionsSet(String instructions)
instructions - the instructionsInvalidModeInstructionException - instruction string is invalidUnsupportedOperationException - an unsupported instruction was
encountered while parsin