org.waarp.xample
Class History

java.lang.Object
  extended by org.waarp.xample.History

public class History
extends Object

A helper class for the XAmple application which holds pathes of accessed XSD and XML files.

Version:
1.0
Author:
Felix Golubov

Field Summary
static int MAX_ITEM_COUNT
           
static int MAX_LABEL_LENGTH
           
 
Constructor Summary
History(String path)
           
 
Method Summary
static String abbreviatePath(String path, int limitLength)
           
 boolean equals(Object obj)
           
 History getFirstChild()
           
 History put(String childPath)
           
 void remove(String childPath)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_ITEM_COUNT

public static final int MAX_ITEM_COUNT
See Also:
Constant Field Values

MAX_LABEL_LENGTH

public static final int MAX_LABEL_LENGTH
See Also:
Constant Field Values
Constructor Detail

History

public History(String path)
Method Detail

abbreviatePath

public static String abbreviatePath(String path,
                                    int limitLength)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

put

public History put(String childPath)

getFirstChild

public History getFirstChild()

remove

public void remove(String childPath)


Copyright © 2009-2013 Waarp. All Rights Reserved.