com.thoughtworks.xstream.converters.basic
Class ThreadSafeSimpleDateFormat

java.lang.Object
  extended bycom.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat
      extended bycom.thoughtworks.xstream.converters.basic.ThreadSafeSimpleDateFormat

Deprecated. since 1.2.1, moved to com.thoughtworks.xstream.core.util. It is not part of public API, use on your own risk.

public class ThreadSafeSimpleDateFormat
extends com.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat

Wrapper around java.text.SimpleDateFormat that can be called by multiple threads concurrently.

Author:
Joe Walnes

Constructor Summary
ThreadSafeSimpleDateFormat(java.lang.String format, int initialPoolSize, int maxPoolSize)
          Deprecated.  
 
Method Summary
 java.lang.String format(java.util.Date date)
          Deprecated.  
 java.util.Date parse(java.lang.String date)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadSafeSimpleDateFormat

public ThreadSafeSimpleDateFormat(java.lang.String format,
                                  int initialPoolSize,
                                  int maxPoolSize)
Deprecated. 
Method Detail

format

public java.lang.String format(java.util.Date date)
Deprecated. 

parse

public java.util.Date parse(java.lang.String date)
                     throws java.text.ParseException
Deprecated. 
Throws:
java.text.ParseException


Joe Walnes, http://xstream.codehaus.org/