KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > text > Format

java.text
Class Format

java.lang.Object
  extended by java.text.Format
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
DateFormat, MessageFormat, NumberFormat
See Also:
Top Examples, Source Code, ParsePosition, FieldPosition

public Object clone()
See Also:
Cloneable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Format()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[614]Format a date to yyyy-MM-dd-HH-mm-ss
By Anonymous on 2004/01/20 14:58:56  Rate
Date date = new Date (  ) ; 
 Format formatter = new SimpleDateFormat ( "yyyy-MM-dd-HH-mm-ss" ) ; 
 String s= formatter.format ( date ) ; 
 


public final String format(Object obj)
See Also:
IllegalArgumentException, format
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract StringBuffer format(Object obj,
                                    StringBuffer toAppendTo,
                                    FieldPosition pos)
See Also:
IllegalArgumentException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AttributedCharacterIterator formatToCharacterIterator(Object obj)
See Also:
IllegalArgumentException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object parseObject(String source)
                   throws ParseException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract Object parseObject(String source,
                                   ParsePosition pos)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags