Class MsgFormatPos

java.lang.Object
com.adobe.xfa.ut.MsgFormatPos

public final class MsgFormatPos extends Object
  • Constructor Details

    • MsgFormatPos

      public MsgFormatPos(MsgFormatPos oSource)
      Copy Constructor
      Parameters:
      oSource - MsgFormatPos to be copied
    • MsgFormatPos

      public MsgFormatPos(int nResId)
      Resource Id Constructor
      Parameters:
      nResId - Resource Id representing a string to be position-sensitive formatted
    • MsgFormatPos

      public MsgFormatPos(int nResId, String sOut)
      Resource Id Constructor
      Parameters:
      nResId - Resource Id representing a string to be position-sensitive formatted
      sOut - input value to be applied to the format
    • MsgFormatPos

      public MsgFormatPos(String sSource)
      String Constructor
      Parameters:
      sSource - string to be position-sensitive formatted
    • MsgFormatPos

      public MsgFormatPos(String sSource, String sOut)
      String Constructor
      Parameters:
      sSource - string to be position-sensitive formatted
      sOut - input value to be applied to the format
  • Method Details

    • assign

      public MsgFormatPos assign(MsgFormatPos oSource)
      Assignment operator.
      Parameters:
      oSource - jfFormat to be copied
    • format

      public MsgFormatPos format(int nResId)
      Formatting operator.
      Parameters:
      nResId - Resource Id representing a string.
    • format

      public MsgFormatPos format(String sOut)
      Formatting operator.
      Parameters:
      sOut - input value to be applied to the format
    • getParm

      public String getParm(int nIndex)
      Retrieve the nth parameter as a string
      Returns:
      the nth parameter as a string
    • getParmCount

      public int getParmCount()
      Retrieve the size of the parameter list
      Returns:
      the size of the parameter list
    • resId

      public int resId()
      Retrieve the resource id
      Returns:
      the resource id for this
    • toString

      public String toString()
      Retrieve the string representation
      Overrides:
      toString in class Object
      Returns:
      the string version of this