Class MsgFormatPos


  • public final class MsgFormatPos
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MsgFormatPos​(int nResId)
      Resource Id Constructor
      MsgFormatPos​(int nResId, java.lang.String sOut)
      Resource Id Constructor
      MsgFormatPos​(MsgFormatPos oSource)
      Copy Constructor
      MsgFormatPos​(java.lang.String sSource)
      String Constructor
      MsgFormatPos​(java.lang.String sSource, java.lang.String sOut)
      String Constructor
    • Constructor Detail

      • 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,
                            java.lang.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​(java.lang.String sSource)
        String Constructor
        Parameters:
        sSource - string to be position-sensitive formatted
      • MsgFormatPos

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

      • 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​(java.lang.String sOut)
        Formatting operator.
        Parameters:
        sOut - input value to be applied to the format
      • getParm

        public java.lang.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 java.lang.String toString()
        Retrieve the string representation
        Overrides:
        toString in class java.lang.Object
        Returns:
        the string version of this