All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.cvs.CvsFileFrame

java.lang.Object
   |
   +----org.w3c.tools.resources.AttributeHolder
           |
           +----org.w3c.tools.resources.Resource
                   |
                   +----org.w3c.tools.resources.FramedResource
                           |
                           +----org.w3c.tools.resources.ResourceFrame
                                   |
                                   +----org.w3c.tools.resources.ProtocolFrame
                                           |
                                           +----org.w3c.jigsaw.frames.HTTPFrame
                                                   |
                                                   +----org.w3c.jigsaw.cvs.CvsFileFrame

public class CvsFileFrame
extends HTTPFrame
This subclass of HTTPFrame check cvs before performing a PUT request. If a CVS directory exists
Else perform PUT.


Variable Index

 o resDirectory

Constructor Index

 o CvsFileFrame()

Method Index

 o add(Request)
 o commit(Request)
 o getResourceDirectory()
 o putFileResource(Request)
Change the content of the associated FileResource.

Variables

 o resDirectory
 protected File resDirectory

Constructors

 o CvsFileFrame
 public CvsFileFrame()

Methods

 o getResourceDirectory
 protected synchronized File getResourceDirectory()
 o add
 protected void add(Request request) throws CvsException
Throws: CvsException
if the CVS process failed
 o commit
 protected void commit(Request request) throws CvsException
Throws: CvsException
if the CVS process failed
 o putFileResource
 protected Reply putFileResource(Request request) throws ProtocolException, ResourceException
Change the content of the associated FileResource. +cvs action (commit, update)

Parameters:
request - The incomming request.
Throws: ProtocolException
if a protocol error occurs
Throws: ResourceException
if a server error occurs
Overrides:
putFileResource in class HTTPFrame

All Packages  Class Hierarchy  This Package  Previous  Next  Index