|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.develop.common.util.amf.util.PathStack
public class PathStack
Stack for path name. It is useful to keep the position in recursive operation.
| Constructor Summary | |
|---|---|
PathStack()
Default Constructor. |
|
PathStack(String separator,
boolean debug)
Constructor with debug option. |
|
PathStack(String separator,
boolean debug,
PrintStream out)
Constructor with debug option and writer. |
|
| Method Summary | |
|---|---|
int |
getLevel()
Get the level of path. |
void |
logMessage(String message)
Log message with property name. |
void |
popIndex(int index)
Pop a index. |
void |
popProperty(String property)
Pop a property. |
void |
pushIndex(int index)
Push a index. |
void |
pushProperty(String property)
Push a property. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PathStack()
public PathStack(String separator,
boolean debug)
separator - Token for separator.debug - true for debug mode.
public PathStack(String separator,
boolean debug,
PrintStream out)
separator - Token for separator.debug - true for debug mode.out - The appender for messages.| Method Detail |
|---|
public void logMessage(String message)
throws IOException
message - Message.
IOExceptionpublic void pushProperty(String property)
property - Property name to be pushed.public void pushIndex(int index)
index - Index value to be pushed.public void popProperty(String property)
property - Property name to be popped.public void popIndex(int index)
index - Index value to be popped.public int getLevel()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||