private class DAXParser3.Arguments
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.StringBuffer |
mBuffer
Handle to a job arguments to handle mixed content.
|
Constructor and Description |
---|
Arguments()
The default constructor
|
Modifier and Type | Method and Description |
---|---|
private void |
addArgument(File file)
Adds a file name to the argument string
|
void |
addArgument(ReplicaLocation rl)
Adds filename to the arguments
|
void |
addArgument(java.lang.String text)
Adds text to the arguments string
|
java.lang.String |
ignoreWhitespace(java.lang.String str)
Our own implementation for ignorable whitespace.
|
java.lang.String |
ignoreWhitespace(java.lang.String str,
boolean preserveLineBreak)
Our own implementation for ignorable whitespace.
|
void |
reset()
Resets the internal buffer
|
java.lang.String |
toString()
Returns the arguments as string
|
protected java.lang.StringBuffer mBuffer
public void reset()
public void addArgument(java.lang.String text)
text
- the text to be added.public void addArgument(ReplicaLocation rl)
rl
- the ReplicaLocation objectprivate void addArgument(File file)
file
- the file object.public java.lang.String ignoreWhitespace(java.lang.String str)
str
- The string that contains whitespaces.public java.lang.String ignoreWhitespace(java.lang.String str, boolean preserveLineBreak)
str
- The string that contains whitespaces.public java.lang.String toString()
toString
in class java.lang.Object