    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigedit.cvs.CvsEntryResource

    java.lang.Object
       |
       +----org.w3c.tools.resources.AttributeHolder
               |
               +----org.w3c.tools.resources.Resource
                       |
                       +----org.w3c.tools.resources.FramedResource
                               |
                               +----org.w3c.tools.resources.AbstractContainer
                                       |
                                       +----org.w3c.tools.resources.ContainerResource
                                               |
                                               +----org.w3c.jigedit.cvs.CvsEntryResource

public class CvsEntryResource
extends ContainerResource

This class exports the state of an entry. For the time being it doesn't do much, but it should act as a directory (container) for all revisions of a document.

The lookup method of this entity should be able to turn a revision number into an editable (or viewable) document.

##

name
rr_cvsframe

##

checkRevisionNumber(String)
getCvsManager()
getCvsURL()
getHtmlGenerator(String)
getMinor(String)
getResourceReference()
  Get the ResourceReference of that resource.
getRevisionResource(String)
lookup(String)
  Lookup a children in the container.
parseDiff(String)
  replace < by <.
parseLog(String)
writeLinks(OutputStream, byte[], int, int)

##

name

     protected String name

rr_cvsframe

     protected ResourceReference rr_cvsframe

##

getMinor

     protected int getMinor(String revision)

getCvsManager

     protected CvsDirectory getCvsManager() throws InvalidResourceException

getCvsURL

     protected String getCvsURL()

checkRevisionNumber

     protected void checkRevisionNumber(String rev) throws CvsEntryResource. RevisionNumberException, CvsException

writeLinks

     protected void writeLinks(OutputStream out,
                               byte b[],
                               int offset,
                               int length) throws IOException

parseDiff

     protected String parseDiff(String diff)

  replace < by <.

parseLog

     protected HtmlGenerator parseLog(String log)

getRevisionResource

     protected synchronized ResourceReference getRevisionResource(String revision)

lookup

     public ResourceReference lookup(String revision)

  Lookup a children in the container.

  Overrides:
    lookup in class ContainerResource

getResourceReference

     public synchronized ResourceReference getResourceReference()

  Get the ResourceReference of that resource.

  Overrides:
    getResourceReference in class Resource

getHtmlGenerator

     protected HtmlGenerator getHtmlGenerator(String title)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index