public class FSPprotection extends Object
There are no get/set methods defined. Use public variables directly for data access.
Modifier and Type | Field and Description |
---|---|
boolean |
add
public can add files to this directory
|
boolean |
delete
public can delete files in this directory
|
static byte |
DIR_ADD
Directory bitfield - public can add files
|
static byte |
DIR_DEL
Directory bitfield - public can delete files
|
static byte |
DIR_GET
Directory bitfield - public can download/get files.
|
static byte |
DIR_LIST
Directory bitfield - public can list directory
|
static byte |
DIR_MKDIR
Directory bitfield - public can make subdirectories
|
static byte |
DIR_OWNER
Directory bitfield - caller is owner
|
static byte |
DIR_README
Directory bitfield - directory contains readme
|
static byte |
DIR_RENAME
Directory bitfield - public can rename files
|
boolean |
get
public can download/get files from this directory
|
boolean |
list
public can list files in this directory
|
boolean |
mkdir
public can create subdirectories in this directory
|
boolean |
owner
Caller is directory owner
|
String |
readme
Readme file for this directory
|
boolean |
rename
public can rename files in this directory
|
Constructor and Description |
---|
FSPprotection()
Constructor for empty FSPprotection object.
|
FSPprotection(FSPpacket pkt)
Creates FSPprotection instance from FSPpacket.
|
public boolean owner
public boolean delete
public boolean add
public boolean mkdir
public boolean get
public boolean list
public boolean rename
public String readme
public static byte DIR_OWNER
public static byte DIR_DEL
public static byte DIR_ADD
public static byte DIR_MKDIR
public static byte DIR_GET
public static byte DIR_README
public static byte DIR_LIST
public static byte DIR_RENAME
public FSPprotection()
public FSPprotection(FSPpacket pkt)
pkt
- FSPpacket with CC_GET_PRO server responseIllegalArgumentException
- if pkt is not response
to CC_GET_PRO commandCopyright © 2020 FSP Project. All rights reserved.