local.tomas.vcard.impl.type
Class VDateBase

java.lang.Object
  extended by local.tomas.vcard.impl.type.VDateBase
All Implemented Interfaces:
VCardPropertyImplementation
Direct Known Subclasses:
VDate, VRecurrence, VTimestamp

public abstract class VDateBase
extends java.lang.Object
implements VCardPropertyImplementation


Constructor Summary
VDateBase()
           
 
Method Summary
 java.lang.Object create(java.lang.String valueString, java.lang.String charset, java.lang.String encoding)
           
protected abstract  java.lang.Object createFromString(java.lang.String str)
           
 java.lang.String findEncoding(java.lang.Object obj)
           
 java.lang.String findEncoding(java.lang.Object[] obj)
           
 java.lang.Class getType()
           
 java.lang.String serialize(java.lang.Object obj, java.lang.String codec, java.lang.String encoding)
           
protected abstract  java.lang.String serializeToString(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VDateBase

public VDateBase()
Method Detail

createFromString

protected abstract java.lang.Object createFromString(java.lang.String str)
                                              throws java.text.ParseException,
                                                     VCardException
Throws:
java.text.ParseException
VCardException

serializeToString

protected abstract java.lang.String serializeToString(java.lang.Object obj)

getType

public java.lang.Class getType()
Specified by:
getType in interface VCardPropertyImplementation

create

public java.lang.Object create(java.lang.String valueString,
                               java.lang.String charset,
                               java.lang.String encoding)
                        throws VCardException
Specified by:
create in interface VCardPropertyImplementation
Throws:
VCardException

serialize

public java.lang.String serialize(java.lang.Object obj,
                                  java.lang.String codec,
                                  java.lang.String encoding)
                           throws VCardException
Specified by:
serialize in interface VCardPropertyImplementation
Throws:
VCardException

findEncoding

public java.lang.String findEncoding(java.lang.Object[] obj)
                              throws VCardException
Specified by:
findEncoding in interface VCardPropertyImplementation
Throws:
VCardException

findEncoding

public java.lang.String findEncoding(java.lang.Object obj)
                              throws VCardException
Specified by:
findEncoding in interface VCardPropertyImplementation
Throws:
VCardException


Copyright © 2007 null. All Rights Reserved.