    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.contrib.CvsFileResource

    java.lang.Object
       |
       +----w3c.tools.store.AttributeHolder
               |
               +----w3c.tools.store.Resource
                       |
                       +----w3c.jigsaw.resources.HTTPResource
                               |
                               +----w3c.jigsaw.resources.FilteredResource
                                       |
                                       +----w3c.jigsaw.resources.FileResource
                                               |
                                               +----w3c.jigsaw.contrib.CvsFileResource

public class CvsFileResource
extends FileResource

This subclass of FileResource check cvs before performing a PUT request. If a CVS directory exists

If the resource file exists

If resource file not up to date Fail.
Else perform PUT and commit it into cvs.

Else perform PUT, add and commit it into cvs.

Else perform PUT.

##

resDirectory

##

CvsFileResource()

##

add(Request)
commit(Request)
getResourceDirectory()
put(Request)
  Put a new entity in this resource and update document into the CvsDirectory (if any).

##

resDirectory

     protected File resDirectory

##

CvsFileResource

     public CvsFileResource()

##

getResourceDirectory

     protected synchronized File getResourceDirectory()

add

     protected void add(Request request) throws CvsException

commit

     protected void commit(Request request) throws CvsException

put

     public synchronized Reply put(Request request) throws HTTPException, ClientException

  Put a new entity in this resource and update document into the CvsDirectory (if any).

  Parameters:
    request - The request to handle.
  Overrides:
    put in class FileResource

    All Packages  Class Hierarchy  This Package  Previous  Next  Index