java.text

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 » 6.0 JDK Modules » j2me » java.text 
java.text
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. This means your main application or applet can be written to be language-independent, and it can rely upon separate, dynamically-linked localized resources. This allows the flexibility of adding localizations for new localizations at any time.

These classes are capable of formatting dates, numbers, and messages, parsing; searching and sorting strings; and iterating over characters, words, sentences, and line breaks. This package contains three main groups of classes and interfaces:

  • Classes for iteration over text
  • Classes for formatting and parsing
  • Classes for string collation
@since JDK1.1
Java Source File NameTypeComment
Annotation.javaClass An Annotation object is used as a wrapper for a text attribute value if the attribute has annotation characteristics.
AttributedCharacterIterator.javaInterface An AttributedCharacterIterator allows iteration through both text and related attribute information.

An attribute is a key/value pair, identified by the key.

AttributedString.javaClass An AttributedString holds text and related attribute information.
BreakDictionary.javaClass This is the class that represents the list of known words used by DictionaryBasedBreakIterator.
BreakIterator.javaClass The BreakIterator class implements methods for finding the location of boundaries in text.
CharacterIterator.javaInterface This interface defines a protocol for bidirectional iteration over text. The iterator iterates over a bounded sequence of characters.
CharacterIteratorFieldDelegate.javaClass CharacterIteratorFieldDelegate combines the notifications from a Format into a resulting AttributedCharacterIterator.
CharSet.javaClass An object representing a set of characters.
ChoiceFormat.javaClass A ChoiceFormat allows you to attach a format to a range of numbers. It is generally used in a MessageFormat for handling plurals. The choice is specified with an ascending list of doubles, where each item specifies a half-open interval up to the next item:
 X matches j if and only if limit[j] <= X < limit[j+1]
 
If there is no match, then either the first or last index is used, depending on whether the number (X) is too low or too high.
CollationElementIterator.javaClass The CollationElementIterator class is used as an iterator to walk through each character of an international string.
CollationKey.javaClass A CollationKey represents a String under the rules of a specific Collator object.
CollationRules.javaClass CollationRules contains the default en_US collation rules as a base for building other collation tables.
Collator.javaClass The Collator class performs locale-sensitive String comparison.
DateFormat.javaClass DateFormat is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-independent manner. The date/time formatting subclass, such as SimpleDateFormat, allows for formatting (i.e., date -> text), parsing (text -> date), and normalization.
DateFormatSymbols.javaClass DateFormatSymbols is a public class for encapsulating localizable date-time formatting data, such as the names of the months, the names of the days of the week, and the time zone data. DateFormat and SimpleDateFormat both use DateFormatSymbols to encapsulate this information.

Typically you shouldn't use DateFormatSymbols directly. Rather, you are encouraged to create a date-time formatter with the DateFormat class's factory methods: getTimeInstance, getDateInstance, or getDateTimeInstance. These methods automatically create a DateFormatSymbols for the formatter so that you don't have to.

DecimalFormat.javaClass DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers.
DecimalFormatSymbols.javaClass This class represents the set of symbols (such as the decimal separator, the grouping separator, and so on) needed by DecimalFormat to format numbers.
DictionaryBasedBreakIterator.javaClass A subclass of RuleBasedBreakIterator that adds the ability to use a dictionary to further subdivide ranges of text beyond what is possible using just the state-table-based algorithm.
DigitList.javaClass Digit List.
DontCareFieldPosition.javaClass DontCareFieldPosition defines no-op FieldDelegate.
EntryPair.javaClass This is used for building contracting character tables.
FieldPosition.javaClass FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted output.
Format.javaClass Format is an abstract base class for formatting locale-sensitive information such as dates, messages, and numbers.

Format defines the programming interface for formatting locale-sensitive objects into Strings (the format method) and for parsing Strings back into objects (the parseObject method).

Generally, a format's parseObject method must be able to parse any string formatted by its format method.

MergeCollation.javaClass Utility class for normalizing and merging patterns for collation. Patterns are strings of the form *, where has the form: := * := {"/"} := "=", ",", ";", "<", "&" , and are both arbitrary strings. unquoted whitespaces are ignored. 'xxx' can be used to quote characters One difference from Collator is that & is used to reset to a current point.
MessageFormat.javaClass MessageFormat provides a means to produce concatenated messages in language-neutral way.
NumberFormat.javaClass NumberFormat is the abstract base class for all number formats.
ParseException.javaClass Signals that an error has been reached unexpectedly while parsing.
ParsePosition.javaClass ParsePosition is a simple class used by Format and its subclasses to keep track of the current position during parsing.
PatternEntry.javaClass Utility class for normalizing and merging patterns for collation.
RBCollationTables.javaClass This class contains the static state of a RuleBasedCollator: The various tables that are used by the collation routines.
RBTableBuilder.javaClass This class contains all the code to parse a RuleBasedCollator pattern and build a RBCollationTables object from it.
RuleBasedBreakIterator.javaClass

A subclass of BreakIterator whose behavior is specified using a list of rules.

There are two kinds of rules, which are separated by semicolons: substitutions and regular expressions.

A substitution rule defines a name that can be used in place of an expression.

RuleBasedCollator.javaClass The RuleBasedCollator class is a concrete subclass of Collator that provides a simple, data-driven, table collator.
SimpleDateFormat.javaClass SimpleDateFormat is a concrete class for formatting and parsing dates in a locale-sensitive manner.
StringCharacterIterator.javaClass StringCharacterIterator implements the CharacterIterater protocol for a String.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.