Package com.adobe.xfa.ut
Class MsgFormatPos
- java.lang.Object
-
- com.adobe.xfa.ut.MsgFormatPos
-
public final class MsgFormatPos extends Object
-
-
Constructor Summary
Constructors Constructor Description MsgFormatPos(int nResId)Resource Id ConstructorMsgFormatPos(int nResId, String sOut)Resource Id ConstructorMsgFormatPos(MsgFormatPos oSource)Copy ConstructorMsgFormatPos(String sSource)String ConstructorMsgFormatPos(String sSource, 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(String sOut)Formatting operator.StringgetParm(int nIndex)Retrieve the nth parameter as a stringintgetParmCount()Retrieve the size of the parameter listintresId()Retrieve the resource idStringtoString()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, 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(String sSource)
String Constructor- Parameters:
sSource- string to be position-sensitive formatted
-
-
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(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
-
-