Java Doc for Messages.java in  » Database-ORM » castor » org » castor » util » 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 » Database ORM » castor » org.castor.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.castor.util.Messages

Messages
final public class Messages (Code)
I18N message formatting class. A static factory for obtaining messages and formatting messages with arguments.

The resource file org.exolab.castor.util.resources.messages contains a list of all the messages in English. Additional resource files can be added for other languages and locales by placing them in the same package with a language/locale prefix. See the I18N documentation and use of resource bundles in the JDK docs.
author:
   Assaf Arkin
author:
   Ralf Joachim
version:
   $Revision: 6907 $ $Date: 2006-04-10 16:39:24 -0600 (Mon, 10 Apr 2006) $
since:
   1.0.1



Field Summary
final public static  StringRESOURCE_NAME
     The name of the resource holding all the messages in the English language.


Method Summary
public static  Stringformat(String message, Object arg1)
     Format the named message using a single argument and return the full message text.
public static  Stringformat(String message, Object arg1, Object arg2)
     Format the named message using two argument and return the full message text.
public static  Stringformat(String message, Object arg1, Object arg2, Object arg3)
     Format the named message using three argument and return the full message text.
public static  Stringformat(String message, Object[] args)
     Format the named message using any number of arguments and return the full message text.
public static  Stringmessage(String message)
     Return the text of the named message without formatting.
public static  voidsetDefaultLocale()
     Set the default locale to use for loading messages.
public static  voidsetLocale(Locale locale)
     Set the locale to use for loading messages.

Field Detail
RESOURCE_NAME
final public static String RESOURCE_NAME(Code)
The name of the resource holding all the messages in the English language. Resources for other languages and locales use the same name with a language/locale prefix.





Method Detail
format
public static String format(String message, Object arg1)(Code)
Format the named message using a single argument and return the full message text.
Parameters:
  message - The message name
Parameters:
  arg1 - The first argument The full message text



format
public static String format(String message, Object arg1, Object arg2)(Code)
Format the named message using two argument and return the full message text.
Parameters:
  message - The message name
Parameters:
  arg1 - The first argument
Parameters:
  arg2 - The second argument The full message text



format
public static String format(String message, Object arg1, Object arg2, Object arg3)(Code)
Format the named message using three argument and return the full message text.
Parameters:
  message - The message name
Parameters:
  arg1 - The first argument
Parameters:
  arg2 - The second argument
Parameters:
  arg3 - The third argument The full message text



format
public static String format(String message, Object[] args)(Code)
Format the named message using any number of arguments and return the full message text.
Parameters:
  message - The message name
Parameters:
  args - Argument list The full message text



message
public static String message(String message)(Code)
Return the text of the named message without formatting.
Parameters:
  message - The message name The full message text



setDefaultLocale
public static void setDefaultLocale()(Code)
Set the default locale to use for loading messages. Calling this method will reload all the messages based on the new locale name.



setLocale
public static void setLocale(Locale locale)(Code)
Set the locale to use for loading messages. Calling this method will reload all the messages based on the new locale name.
Parameters:
  locale - the locale for which a resource bundle is desired.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) 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.