|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.version.VersionControlCache
public class VersionControlCache
Cache of files - so that it doesn't take so long to get the menu
Field Summary | |
---|---|
static int |
ADD
Description of the Field |
static int |
ADD_PROGRESS
Description of the Field |
static int |
CHECK_IN
Description of the Field |
static int |
CHECK_IN_PROGRESS
Description of the Field |
static int |
CHECK_OUT
Description of the Field |
static int |
CHECK_OUT_PROGRESS
Description of the Field |
Constructor Summary | |
---|---|
protected |
VersionControlCache()
Constructor for the VersionControlCache object |
Method Summary | |
---|---|
void |
add(java.lang.String filename,
int type)
Add to the cache |
static VersionControlCache |
getCache()
Return the cache |
boolean |
isInCache(java.lang.String filename)
Looks up a file in the cache |
int |
lookup(java.lang.String filename)
Looks up a file in the cache |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ADD
public static final int CHECK_IN
public static final int CHECK_OUT
public static final int CHECK_IN_PROGRESS
public static final int CHECK_OUT_PROGRESS
public static final int ADD_PROGRESS
Constructor Detail |
---|
protected VersionControlCache()
Method Detail |
---|
public boolean isInCache(java.lang.String filename)
filename
- Description of Parameter
public int lookup(java.lang.String filename)
filename
- Description of Parameter
public void add(java.lang.String filename, int type)
filename
- the name of the filetype
- the statepublic static VersionControlCache getCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |