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
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
-
-
CvsFileFrame()
-
-
add(Request)
-
-
commit(Request)
-
-
getResourceDirectory()
-
-
putFileResource(Request)
- Change the content of the associated FileResource.
resDirectory
protected File resDirectory
CvsFileFrame
public CvsFileFrame()
getResourceDirectory
protected synchronized File getResourceDirectory()
add
protected void add(Request request) throws CvsException
- Throws: CvsException
- if the CVS process failed
commit
protected void commit(Request request) throws CvsException
- Throws: CvsException
- if the CVS process failed
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