com.perforce.api
Class DirEntry
java.lang.Object
|
+--com.perforce.api.SourceControlObject
|
+--com.perforce.api.DirEntry
- All Implemented Interfaces:
- Cacheable
- public final class DirEntry
- extends SourceControlObject
Representation of a source control directory.
- Version:
- $Date: 2001/11/02 $ $Revision: #1 $
- Author:
- David Markley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirEntry
public DirEntry()
DirEntry
public DirEntry(DirEntry base,
String path)
DirEntry
public DirEntry(Env e)
DirEntry
public DirEntry(Env e,
String path)
commit
public void commit()
- Description copied from class:
SourceControlObject
- Stores this object back into Perforce, creating it if it
didn't already exist.
- Overrides:
commit
in class SourceControlObject
getBasePath
public String getBasePath()
getCache
public HashDecay getCache()
- Overrides:
getCache
in class SourceControlObject
getDirEntry
public static DirEntry getDirEntry(Env env,
String path,
boolean force)
getDirNames
public String[] getDirNames()
getDirNames
public String[] getDirNames(Env env)
getFileNames
public String[] getFileNames()
getFileNames
public String[] getFileNames(Env env)
getFiles
public FileEntry[] getFiles()
getFiles
public FileEntry[] getFiles(Env env)
getParent
public DirEntry getParent()
getPath
public String getPath()
setPath
public void setPath(String path)
sync
public void sync()
- Description copied from class:
SourceControlObject
- Brings this object back into sync with Perforce.
- Overrides:
sync
in class SourceControlObject
Copyright © 2001, Perforce Software, All rights reserved.