| org.w3c.tools.resources.DirectoryResource org.w3c.jigsaw.resources.DirectoryResource org.w3c.jigsaw.resources.PassDirectory org.w3c.jigedit.cvs.CvsRootDirectory org.w3c.jigedit.resources.AutoLookupDirectory
AutoLookupDirectory | public class AutoLookupDirectory extends CvsRootDirectory (Code) | | A special version of DirectoryResource that can fetch a file
from CVS directly if it is not already here.
It can alos do an automatic update, depending on a flag
|
Method Summary | |
public ResourceReference | createDirectoryResource(String name) Create a DirectoryResource and the physical directory too.
Add the new directory in the CVS repository.
Parameters: name - the name of the resource. | protected synchronized CvsDirectory | getCvsManager() Get the appropriate CVS manager for the directory we handle. | public boolean | isAutoUpdatable() tell if we must always do an update. | public boolean | isCvsExtensible() tell if we must add in cvs the new puted documents. | public boolean | lookup(LookupState ls, LookupResult lr) Lookup the next component of this lookup state in here.
Parameters: ls - The current lookup state. Parameters: lr - The lookup result under construction. exception: ProtocolException - If an error occurs. | public ResourceReference | lookup(String name) Lookup the resource having the given name in this directory.
if the resource is not present, it will try to fetch it from
the Cvs repository.
Parameters: name - The name of the resource. |
createDirectoryResource | public ResourceReference createDirectoryResource(String name)(Code) | | Create a DirectoryResource and the physical directory too.
Add the new directory in the CVS repository.
Parameters: name - the name of the resource. A ResourceReference instance. |
getCvsManager | protected synchronized CvsDirectory getCvsManager() throws CvsException(Code) | | Get the appropriate CVS manager for the directory we handle.
A CvsDirectory instance. exception: CvsException - If we couldn't get the manager. |
isAutoUpdatable | public boolean isAutoUpdatable()(Code) | | tell if we must always do an update.
|
isCvsExtensible | public boolean isCvsExtensible()(Code) | | tell if we must add in cvs the new puted documents.
|
lookup | public boolean lookup(LookupState ls, LookupResult lr) throws ProtocolException(Code) | | Lookup the next component of this lookup state in here.
Parameters: ls - The current lookup state. Parameters: lr - The lookup result under construction. exception: ProtocolException - If an error occurs. A boolean, true if lookup has completed, false if it should be continued by the caller. |
lookup | public ResourceReference lookup(String name)(Code) | | Lookup the resource having the given name in this directory.
if the resource is not present, it will try to fetch it from
the Cvs repository.
Parameters: name - The name of the resource. A ResourceReference instance, or null. |
Fields inherited from org.w3c.jigedit.cvs.CvsRootDirectory | public static int ATTR_CVSROOT(Code)(Java Doc)
|
Fields inherited from org.w3c.jigsaw.resources.PassDirectory | protected static int ATTR_PASSTARGET(Code)(Java Doc)
|
Fields inherited from org.w3c.jigsaw.resources.DirectoryResource | protected static int ATTR_NEGOTIABLE(Code)(Java Doc)
|
|
|