org.alfresco.repo.avm.util
Class VersionPathStuffer

java.lang.Object
  extended by org.alfresco.repo.avm.util.VersionPathStuffer

public final class VersionPathStuffer
extends java.lang.Object

A utility to build a (possibly long) String representation of a collection of AVM path,versions. The path,versions can be recovered by VersionPathUnStuffer.


Constructor Summary
VersionPathStuffer()
          Make up one.
 
Method Summary
 VersionPathStuffer add(int version, java.lang.String path)
          Add a version path expressed by the version and path.
 VersionPathStuffer add(org.alfresco.service.cmr.repository.NodeRef nodeRef)
          Add a version path expressed as a NodeRef.
 java.lang.String toString()
          Get the stuffed String version of the Version/Paths contained in this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionPathStuffer

public VersionPathStuffer()
Make up one.

Method Detail

add

public VersionPathStuffer add(int version,
                              java.lang.String path)
Add a version path expressed by the version and path.


add

public VersionPathStuffer add(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Add a version path expressed as a NodeRef.


toString

public java.lang.String toString()
Get the stuffed String version of the Version/Paths contained in this.

Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.