Class SomCommandStringBuffer

java.lang.Object
com.isode.som.auditdb.SomCommandStringBuffer

public class SomCommandStringBuffer extends Object
Utility class for safe SOM command string generation
Author:
mst
  • Constructor Details

    • SomCommandStringBuffer

      public SomCommandStringBuffer(String command)
      Constructor
      Parameters:
      command - SOM command protocol identifier (like "RESUBMIT" for message resubmission command)
  • Method Details

    • appendArgument

      public void appendArgument(String name, 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 String toString()
      Return current StringBuffer content
      Overrides:
      toString in class Object