Java Doc for DecimalFormatSymbols.java in  » Apache-Harmony-Java-SE » java-package » java » text » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » java package » java.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.text.DecimalFormatSymbols

DecimalFormatSymbols
final public class DecimalFormatSymbols implements Cloneable,Serializable(Code)
DecimalFormatSymbols holds the symbols used in the formating and parsing of numbers.


Field Summary
transient  char[]patternChars
    

Constructor Summary
public  DecimalFormatSymbols()
     Constructs a new DecimalFormatSymbols containing the symbols for the default Locale.
public  DecimalFormatSymbols(Locale locale)
     Constructs a new DecimalFormatSymbols containing the symbols for the specified Locale.

Method Summary
public  Objectclone()
     Answers a new DecimalFormatSymbols with the same symbols as this DecimalFormatSymbols.
public  booleanequals(Object object)
     Compares the specified object to this DecimalFormatSymbols and answer if they are equal.
public  CurrencygetCurrency()
     Answers the currency.
public  StringgetCurrencySymbol()
     Answers the currency symbol.
public  chargetDecimalSeparator()
     Answers the character which represents the decimal point in a number.
public  chargetDigit()
     Answers the character which represents a single digit in a format pattern.
 chargetExponential()
    
public  chargetGroupingSeparator()
     Answers the character used as the thousands separator in a number.
public  StringgetInfinity()
     Answers the String which represents infinity.
public  StringgetInternationalCurrencySymbol()
     Answers the international currency symbol.
 StringgetLocalPatternChars()
    
 LocalegetLocale()
    
public  chargetMinusSign()
     Answers the minus sign character.
public  chargetMonetaryDecimalSeparator()
     Answers the character which represents the decimal point in a monetary value.
public  StringgetNaN()
     Answers the String which represents NaN.
public  chargetPatternSeparator()
     Answers the character which separates the positive and negative patterns in a format pattern.
public  chargetPerMill()
     Answers the mille percent sign character.
public  chargetPercent()
     Answers the percent character.
public  chargetZeroDigit()
     Answers the character which represents zero.
public  inthashCode()
     Answers an integer hash code for the receiver.
public  voidsetCurrency(Currency currency)
     Sets the currency.
public  voidsetCurrencySymbol(String value)
     Sets the currency symbol.
public  voidsetDecimalSeparator(char value)
     Sets the character which represents the decimal point in a number.
public  voidsetDigit(char value)
     Sets the character which represents a single digit in a format pattern.
 voidsetExponential(char value)
    
public  voidsetGroupingSeparator(char value)
     Sets the character used as the thousands separator in a number.
public  voidsetInfinity(String value)
     Sets the String which represents infinity.
public  voidsetInternationalCurrencySymbol(String value)
     Sets the international currency symbol.
public  voidsetMinusSign(char value)
     Sets the minus sign character.
public  voidsetMonetaryDecimalSeparator(char value)
     Sets the character which represents the decimal point in a monetary value.
public  voidsetNaN(String value)
     Sets the String which represents NaN.
public  voidsetPatternSeparator(char value)
     Sets the character which separates the positive and negative patterns in a format pattern.
public  voidsetPerMill(char value)
     Sets the mille percent sign character.
public  voidsetPercent(char value)
     Sets the percent character.
public  voidsetZeroDigit(char value)
     Sets the character which represents zero.

Field Detail
patternChars
transient char[] patternChars(Code)




Constructor Detail
DecimalFormatSymbols
public DecimalFormatSymbols()(Code)
Constructs a new DecimalFormatSymbols containing the symbols for the default Locale.



DecimalFormatSymbols
public DecimalFormatSymbols(Locale locale)(Code)
Constructs a new DecimalFormatSymbols containing the symbols for the specified Locale.
Parameters:
  locale - the Locale




Method Detail
clone
public Object clone()(Code)
Answers a new DecimalFormatSymbols with the same symbols as this DecimalFormatSymbols. a shallow copy of this DecimalFormatSymbols
See Also:   java.lang.Cloneable



equals
public boolean equals(Object object)(Code)
Compares the specified object to this DecimalFormatSymbols and answer if they are equal. The object must be an instance of DecimalFormatSymbols with the same symbols.
Parameters:
  object - the object to compare with this object true if the specified object is equal to thisDecimalFormatSymbols, false otherwise
See Also:   DecimalFormatSymbols.hashCode



getCurrency
public Currency getCurrency()(Code)
Answers the currency.

null is returned if setInternationalCurrencySymbol() has been previously called with a value that is not a valid ISO 4217 currency code.

the currency that was set in the constructor, setCurrency(),or setInternationalCurrencySymbol(), or null
See Also:   DecimalFormatSymbols.setCurrency(Currency)
See Also:   DecimalFormatSymbols.setInternationalCurrencySymbol(String)




getCurrencySymbol
public String getCurrencySymbol()(Code)
Answers the currency symbol. a String



getDecimalSeparator
public char getDecimalSeparator()(Code)
Answers the character which represents the decimal point in a number. a char



getDigit
public char getDigit()(Code)
Answers the character which represents a single digit in a format pattern. a char



getExponential
char getExponential()(Code)



getGroupingSeparator
public char getGroupingSeparator()(Code)
Answers the character used as the thousands separator in a number. a char



getInfinity
public String getInfinity()(Code)
Answers the String which represents infinity. a String



getInternationalCurrencySymbol
public String getInternationalCurrencySymbol()(Code)
Answers the international currency symbol. a String



getLocalPatternChars
String getLocalPatternChars()(Code)



getLocale
Locale getLocale()(Code)



getMinusSign
public char getMinusSign()(Code)
Answers the minus sign character. a char



getMonetaryDecimalSeparator
public char getMonetaryDecimalSeparator()(Code)
Answers the character which represents the decimal point in a monetary value. a char



getNaN
public String getNaN()(Code)
Answers the String which represents NaN. a String



getPatternSeparator
public char getPatternSeparator()(Code)
Answers the character which separates the positive and negative patterns in a format pattern. a char



getPerMill
public char getPerMill()(Code)
Answers the mille percent sign character. a char



getPercent
public char getPercent()(Code)
Answers the percent character. a char



getZeroDigit
public char getZeroDigit()(Code)
Answers the character which represents zero. a char



hashCode
public int hashCode()(Code)
Answers an integer hash code for the receiver. Objects which are equal answer the same value for this method. the receiver's hash
See Also:   DecimalFormatSymbols.equals



setCurrency
public void setCurrency(Currency currency)(Code)
Sets the currency.

The international currency symbol and currency symbol are updated, but the min and max number of fraction digits stay the same.


Parameters:
  currency - the new currency
throws:
  java.lang.NullPointerException - if currency is null




setCurrencySymbol
public void setCurrencySymbol(String value)(Code)
Sets the currency symbol.
Parameters:
  value - a String



setDecimalSeparator
public void setDecimalSeparator(char value)(Code)
Sets the character which represents the decimal point in a number.
Parameters:
  value - the decimal separator character



setDigit
public void setDigit(char value)(Code)
Sets the character which represents a single digit in a format pattern.
Parameters:
  value - the digit character



setExponential
void setExponential(char value)(Code)



setGroupingSeparator
public void setGroupingSeparator(char value)(Code)
Sets the character used as the thousands separator in a number.
Parameters:
  value - the grouping separator character



setInfinity
public void setInfinity(String value)(Code)
Sets the String which represents infinity.
Parameters:
  value - the String



setInternationalCurrencySymbol
public void setInternationalCurrencySymbol(String value)(Code)
Sets the international currency symbol.

currency and currency symbol also are updated, if value is a valid ISO4217 currency code.

The min and max number of fraction digits stay the same.
Parameters:
  value - currency code




setMinusSign
public void setMinusSign(char value)(Code)
Sets the minus sign character.
Parameters:
  value - the minus sign character



setMonetaryDecimalSeparator
public void setMonetaryDecimalSeparator(char value)(Code)
Sets the character which represents the decimal point in a monetary value.
Parameters:
  value - the monetary decimal separator character



setNaN
public void setNaN(String value)(Code)
Sets the String which represents NaN.
Parameters:
  value - the String



setPatternSeparator
public void setPatternSeparator(char value)(Code)
Sets the character which separates the positive and negative patterns in a format pattern.
Parameters:
  value - the pattern separator character



setPerMill
public void setPerMill(char value)(Code)
Sets the mille percent sign character.
Parameters:
  value - the mille percent character



setPercent
public void setPercent(char value)(Code)
Sets the percent character.
Parameters:
  value - the percent character



setZeroDigit
public void setZeroDigit(char value)(Code)
Sets the character which represents zero.
Parameters:
  value - the zero digit character



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final public Class<? extends Object> getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify()(Code)(Java Doc)
final public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait(long millis, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait(long millis) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.