com.adobe.icc.dbforms.obj
Class LocalizedDataFormatInfo

java.lang.Object
  extended by com.adobe.icc.dbforms.obj.LocalizedDataFormatInfo
All Implemented Interfaces:
java.io.Serializable

public class LocalizedDataFormatInfo
extends java.lang.Object
implements java.io.Serializable

Class containing data formatting information for a particular locale

See Also:
Serialized Form

Constructor Summary
LocalizedDataFormatInfo()
           
 
Method Summary
 java.lang.String getDateFormat()
          Get the date format associated with LocalizedDataFormatInfo.
 java.lang.String getLocale()
          Get the locale associated with LocalizedDataFormatInfo.
 char getNumberDecimalSeparator()
          gets the decimal separator character for numeric data types associated with LocalizedDataFormatInfo.
 char getNumberGroupSeparator()
          gets the group separator character for numeric data types associated with LocalizedDataFormatInfo.
 boolean isNumberUseGroupSeparator()
          gets flag indicating whether the group separator should be used while converting numeric types to string
 void setDateFormat(java.lang.String dateFormat)
          Set the date format associated with LocalizedDataFormatInfo.
 void setLocale(java.lang.String locale)
          Set the locale associated with LocalizedDataFormatInfo.
 void setNumberDecimalSeparator(char numberDecimalSeparator)
          Sets the decimal separator character for numeric data types associated with LocalizedDataFormatInfo.
 void setNumberGroupSeparator(char numberGroupSeparator)
          Sets the group separator character for numeric data types associated with LocalizedDataFormatInfo.
 void setNumberUseGroupSeparator(boolean numberUseGroupSeparator)
          sets flag indicating whether the group separator should be used while converting numeric types to string
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalizedDataFormatInfo

public LocalizedDataFormatInfo()
Method Detail

getLocale

public java.lang.String getLocale()
Get the locale associated with LocalizedDataFormatInfo.

Returns:
locale e.g en_US.

setLocale

public void setLocale(java.lang.String locale)
Set the locale associated with LocalizedDataFormatInfo.

Parameters:
locale - e.g en_US.

getDateFormat

public java.lang.String getDateFormat()
Get the date format associated with LocalizedDataFormatInfo.

Returns:
date format for this locale

setDateFormat

public void setDateFormat(java.lang.String dateFormat)
Set the date format associated with LocalizedDataFormatInfo.

Parameters:
dateFormat - for this locale

getNumberDecimalSeparator

public char getNumberDecimalSeparator()
gets the decimal separator character for numeric data types associated with LocalizedDataFormatInfo.

Returns:
numberDecimalSeparator

setNumberDecimalSeparator

public void setNumberDecimalSeparator(char numberDecimalSeparator)
Sets the decimal separator character for numeric data types associated with LocalizedDataFormatInfo.

Parameters:
numberDecimalSeparator -

getNumberGroupSeparator

public char getNumberGroupSeparator()
gets the group separator character for numeric data types associated with LocalizedDataFormatInfo.

Returns:
numberGroupSeparator

setNumberGroupSeparator

public void setNumberGroupSeparator(char numberGroupSeparator)
Sets the group separator character for numeric data types associated with LocalizedDataFormatInfo.

Parameters:
numberGroupSeparator -

isNumberUseGroupSeparator

public boolean isNumberUseGroupSeparator()
gets flag indicating whether the group separator should be used while converting numeric types to string

Returns:
numberUseGroupSeparator

setNumberUseGroupSeparator

public void setNumberUseGroupSeparator(boolean numberUseGroupSeparator)
sets flag indicating whether the group separator should be used while converting numeric types to string

Parameters:
numberUseGroupSeparator -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


[an error occurred while processing this directive] [an error occurred while processing this directive]