Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: Trustin Lee\'s String/Object Converter - Changes

TL-convert Trustin Lee's String/Object Converter provides a simple API to convert Java objects into strings and vice versa. It is developed to replace Jakarta Commons BeanUtils and Jakarta Commons Convert and to provide only String/Object converters.

Tutorial Details:

Basic converters
TL-convert provides these converters:

Basic types:
BigDecimal
BigInteger
Boolean
Byte
Character
Class - the class will be located using Class.forName(String).
Double
File
Float
InetAddress - converter will use InetAddress.getHostAddress().
Integer
Locale - language[_country[_variant]]
Long
Short
String
TimeZone
URL
Complex types:
Collection
List
Set
Map
Properties
All collections and maps can be converted if its elements (or keys/values) are convertable to String using TL-convert, and String can be converted into collections and maps whose elements (or keys/values) are Strings.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Trustin Lee\'s String/Object Converter - Changes

View Tutorial:
Trustin Lee\'s String/Object Converter - Changes

Related Tutorials:

Designing with exceptions - JavaWorld - July 1998
Designing with exceptions - JavaWorld - July 1998
 
Build servlet-based enterprise Web applications - JavaWorld - December 1998
Build servlet-based enterprise Web applications - JavaWorld - December 1998
 
The battle of the container frameworks: which should you use? - JavaWorld - January 1999
The battle of the container frameworks: which should you use? - JavaWorld - January 1999
 
Java Tip 71: Use dynamic messaging in Java - JavaWorld - April 1999
Java Tip 71: Use dynamic messaging in Java - JavaWorld - April 1999
 
Programming XML in Java, Part 1 - JavaWorld March 2000
Programming XML in Java, Part 1 - JavaWorld March 2000
 
StringBuffer versus String - JavaWorld March 2000
StringBuffer versus String - JavaWorld March 2000
 
Activatable Jini services, Part 1: Implement RMI activation - JavaWorld September 2000
Activatable Jini services, Part 1: Implement RMI activation - JavaWorld September 2000
 
Design for performance, Part 1: Interfaces matter - JavaWorld January 2001
Design for performance, Part 1: Interfaces matter - JavaWorld January 2001
 
Design for performance, Part 2: Reduce object creation - JavaWorld February 2001
Design for performance, Part 2: Reduce object creation - JavaWorld February 2001
 
Device programming with MIDP, Part 2 - JavaWorld March 2001
Device programming with MIDP, Part 2 - JavaWorld March 2001
 
Matchmaking with regular expressions - JavaWorld July 2001
Matchmaking with regular expressions - JavaWorld July 2001
 
XSLT blooms with Java
XSLT blooms with Java
 
Achieve strong performance with threads, Part 2
Achieve strong performance with threads, Part 2
 
Java Tip 130: Do you know your data size?
Java Tip 130: Do you know your data size?
 
Java's character and assorted string classes support text-processing
Java's character and assorted string classes support text-processing
 
Once again, only introduction
Once again, only introduction
 
Worth reading
Worth reading
 
LDAPXML: An LDAP to XML Converter
LDAPXML: An LDAP to XML Converter LDAPXML is a set of java classes that allow you to access LDAP entries as custom defined XML. It allows you to map the various LDAP objectClasses and attributes to XML namespaces, attributes, elements etc. If you're lo
 
datasift (Data validation + transformation framework)
What is DataSift? DataSift is a powerful java data validation and transformation framework, aimed at enterprise software development, which provides developers with an extensible architecture they can fully adapt to their software needs. Almost every fea
 
Creating EJB clients using the Eclipse Rich Client Platform
This article shows how to build a sample EJB client using the Eclipse Rich Client Platform (RCP), which has become increasingly popularity due to its extensible nature.
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.