JComponentPack 1.5.0

com.zfqjava.swing.cell.converter
Class DateConverter

java.lang.Object
  extended by com.zfqjava.swing.cell.converter.DateConverter
All Implemented Interfaces:
Converter

public class DateConverter
extends Object
implements Converter


Nested Class Summary
static class DateConverter.Type
           
 
Constructor Summary
DateConverter()
          Creates a new instance of DateConverter
 
Method Summary
 DateConverter.Type getType()
           
static void main(String[] args)
           
 void setType(DateConverter.Type type)
           
 String toString(Object o)
          Converts the object to string.
 Object valueOf(String s)
          Convets the string to object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateConverter

public DateConverter()
Creates a new instance of DateConverter

Method Detail

toString

public String toString(Object o)
                throws ConvertException
Description copied from interface: Converter
Converts the object to string.

Specified by:
toString in interface Converter
Parameters:
o - the object
Throws:
ConvertException

valueOf

public Object valueOf(String s)
               throws ConvertException
Description copied from interface: Converter
Convets the string to object.

Specified by:
valueOf in interface Converter
Parameters:
s - the string
Throws:
ConvertException

main

public static void main(String[] args)

getType

public DateConverter.Type getType()

setType

public void setType(DateConverter.Type type)

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.