|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deepfs.jfuse.JFUSEAdapter
public final class JFUSEAdapter
This class assembles all references to the external jfuse library. In order to keep the database independent from external libraries this class assembles all calls to the Java FUSE bindings and provides default values. In case jfuse.jar is removed from the build path this class and the actual FUSE implementation should be the only classes to be modified or removed. In fact, it is intended to just exclude DeepFSImpl from the build path and to toggle the (un)commented code here.
Method Summary | |
---|---|
static long |
getGID()
Gets (native) group id or default value. |
static int |
getSIFDIR()
Returns directory bit. |
static int |
getSIFREG()
Returns regular file bit. |
static long |
getUID()
Gets (native) user id or default value. |
static boolean |
isReg(int mode)
Test mode for regular file flag. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static long getUID()
public static long getGID()
public static int getSIFDIR()
public static int getSIFREG()
public static boolean isReg(int mode)
mode
- of file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |