Package com.isode.som.auditdb
Class SomCommandStringBuffer
- java.lang.Object
-
- com.isode.som.auditdb.SomCommandStringBuffer
-
public class SomCommandStringBuffer extends java.lang.Object
Utility class for safe SOM command string generation- Author:
- mst
-
-
Constructor Summary
Constructors Constructor Description SomCommandStringBuffer(java.lang.String command)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendArgument(java.lang.String name, java.lang.String value)
Append command String argument - if argument name is not specified than just vale us added as an argument (like many main command arguments)java.lang.String
toString()
Return current StringBuffer content
-
-
-
Method Detail
-
appendArgument
public void appendArgument(java.lang.String name, java.lang.String value)
Append command String argument - if argument name is not specified than just vale us added as an argument (like many main command arguments)- Parameters:
name
- optiona argument identifier/name (it can be null)value
- argument value (if it is null than argument is ignored)
-
toString
public java.lang.String toString()
Return current StringBuffer content- Overrides:
toString
in classjava.lang.Object
-
-