Java Doc for TrunkNode.java in  » ERP-CRM-Financial » sakai » org » apache » commons » jrcs » rcs » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.apache.commons.jrcs.rcs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.jrcs.rcs.Node
   org.apache.commons.jrcs.rcs.TrunkNode

TrunkNode
class TrunkNode extends Node (Code)
Represents a node on the trunk or main branch of a version control Archive.

A TrunkNode TrunkNode stores the deltas between the node's revision and the previous revision; that is, when the deltas are applied to the current revision, the text of the previous revision is obtained. The Node.rcsnext rcsnext field of a TrunkNode points to the node corresponding to the previous revision.

This class is NOT thread safe.
See Also:   Node
See Also:   Archive
author:
   Juanco Anez
version:
   $Id: TrunkNode.java 2967 2005-10-26 10:52:33Z ian@caret.cam.ac.uk $



Constructor Summary
 TrunkNode(TrunkNode other)
     Create a TrunkNode bu copying another TrunkNode.
 TrunkNode(Version vernum, TrunkNode next)
     Create a TrunkNode.

Method Summary
public  NodedeltaRevision()
    
public  NodenextInPathTo(Version vernum, boolean soft)
    
protected  voidpatch0(List original, boolean annotate)
     Provide the initial patch.
public  voidsetRCSNext(Node node)
     Set the next node in the RCS logical hierarcy.


Constructor Detail
TrunkNode
TrunkNode(TrunkNode other)(Code)
Create a TrunkNode bu copying another TrunkNode.



TrunkNode
TrunkNode(Version vernum, TrunkNode next) throws InvalidTrunkVersionNumberException(Code)
Create a TrunkNode. The next field in a TrunkNode points to the immediate previos revision or parent.




Method Detail
deltaRevision
public Node deltaRevision()(Code)



nextInPathTo
public Node nextInPathTo(Version vernum, boolean soft) throws NodeNotFoundException(Code)



patch0
protected void patch0(List original, boolean annotate) throws InvalidFileFormatException, NodeNotFoundException, org.apache.commons.jrcs.diff.PatchFailedException(Code)
Provide the initial patch. Used only for head nodes.
Parameters:
  original - Where to add the patch to.
Parameters:
  annotate - True if the lines should be annotated with version numbers.



setRCSNext
public void setRCSNext(Node node)(Code)
Set the next node in the RCS logical hierarcy. Update the _parent and _child node accordingly. For a TrunkNode, the RCS-next is the immediate parent.



Fields inherited from org.apache.commons.jrcs.rcs.Node
protected String author(Code)(Java Doc)
protected TreeMap branches(Code)(Java Doc)
protected Node child(Code)(Java Doc)
protected Date date(Code)(Java Doc)
final protected static DateFormat dateFormat(Code)(Java Doc)
final protected static DateFormat dateFormat2K(Code)(Java Doc)
final protected static Format dateFormatter(Code)(Java Doc)
protected String locker(Code)(Java Doc)
protected String log(Code)(Java Doc)
protected Node parent(Code)(Java Doc)
protected Phrases phrases(Code)(Java Doc)
protected Node rcsnext(Code)(Java Doc)
protected String state(Code)(Java Doc)
protected Object[] text(Code)(Java Doc)
final protected Version version(Code)(Java Doc)

Methods inherited from org.apache.commons.jrcs.rcs.Node
public void addBranch(BranchNode node) throws InvalidVersionNumberException(Code)(Java Doc)
public int compareTo(Object other)(Code)(Java Doc)
abstract public Node deltaRevision()(Code)(Java Doc)
final public String getAuthor()(Code)(Java Doc)
public BranchNode getBranch(int no)(Code)(Java Doc)
final public TreeMap getBranches()(Code)(Java Doc)
final public Node getChild()(Code)(Java Doc)
final public Date getDate()(Code)(Java Doc)
final public String getLocker()(Code)(Java Doc)
final public String getLog()(Code)(Java Doc)
final public Node getParent()(Code)(Java Doc)
public Phrases getPhrases()(Code)(Java Doc)
public Node getRCSNext()(Code)(Java Doc)
final public String getState()(Code)(Java Doc)
final public Object[] getText()(Code)(Java Doc)
public List getTextLines()(Code)(Java Doc)
public List getTextLines(int from, int to)(Code)(Java Doc)
public List getTextLines(List lines)(Code)(Java Doc)
public List getTextLines(List lines, int from, int to)(Code)(Java Doc)
final public Version getVersion()(Code)(Java Doc)
public boolean isGhost()(Code)(Java Doc)
public Version newBranchVersion()(Code)(Java Doc)
static Node newNode(Version vernum, Node rcsnext) throws InvalidVersionNumberException(Code)(Java Doc)
static Node newNode(Version vernum) throws InvalidVersionNumberException(Code)(Java Doc)
abstract public Node nextInPathTo(Version vernum, boolean soft) throws NodeNotFoundException(Code)(Java Doc)
public Version nextVersion()(Code)(Java Doc)
public void patch(List original) throws InvalidFileFormatException, PatchFailedException(Code)(Java Doc)
public void patch(List original, boolean annotate) throws InvalidFileFormatException, org.apache.commons.jrcs.diff.PatchFailedException(Code)(Java Doc)
public Path pathTo(Version vernum) throws NodeNotFoundException(Code)(Java Doc)
public Path pathTo(Version vernum, boolean soft) throws NodeNotFoundException(Code)(Java Doc)
public Node root()(Code)(Java Doc)
public void setAuthor(String user)(Code)(Java Doc)
public void setDate(int[] value)(Code)(Java Doc)
public void setLocker(String user)(Code)(Java Doc)
public void setLog(String value)(Code)(Java Doc)
public void setRCSNext(Node node)(Code)(Java Doc)
public void setState(String value)(Code)(Java Doc)
public void setText(String value)(Code)(Java Doc)
public void setText(Object[] value)(Code)(Java Doc)
public void toString(StringBuffer s)(Code)(Java Doc)
public void toString(StringBuffer s, String EOL)(Code)(Java Doc)
public String toText()(Code)(Java Doc)
public void toText(StringBuffer s, String EOL)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.