Package com.adobe.xfa.ut
Class MsgFormatPos
- java.lang.Object
-
- com.adobe.xfa.ut.MsgFormatPos
-
public final class MsgFormatPos extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MsgFormatPos(int nResId)Resource Id ConstructorMsgFormatPos(int nResId, java.lang.String sOut)Resource Id ConstructorMsgFormatPos(MsgFormatPos oSource)Copy ConstructorMsgFormatPos(java.lang.String sSource)String ConstructorMsgFormatPos(java.lang.String sSource, java.lang.String sOut)String Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MsgFormatPosassign(MsgFormatPos oSource)Assignment operator.MsgFormatPosformat(int nResId)Formatting operator.MsgFormatPosformat(java.lang.String sOut)Formatting operator.java.lang.StringgetParm(int nIndex)Retrieve the nth parameter as a stringintgetParmCount()Retrieve the size of the parameter listintresId()Retrieve the resource idjava.lang.StringtoString()Retrieve the string representation
-
-
-
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 formattedsOut- 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 formattedsOut- 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:
toStringin classjava.lang.Object- Returns:
- the string version of this
-
-