org.globus.ogsa.utils
Class TimestampUtils

java.lang.Object
  extended byorg.globus.ogsa.utils.TimestampUtils

public class TimestampUtils
extends java.lang.Object


Field Summary
static java.lang.String[] HEADERS
           
static int MESSAGE_TYPE_INVALID
           
static int MESSAGE_TYPE_REQUEST
           
static int MESSAGE_TYPE_RESPONSE
           
static int ORIGIN_TYPE_CLIENT
           
static int ORIGIN_TYPE_INVALID
           
static int ORIGIN_TYPE_SERVER
           
 
Constructor Summary
TimestampUtils()
           
 
Method Summary
static Timestamp deserialize(java.lang.String timestampXMLString)
           
static java.util.Vector extractTimestamps(java.io.InputStream inputStream)
           
static java.lang.String[] getFieldValues(Timestamp timestamp)
           
static int messageTypeStringToInt(java.lang.String messageType)
           
static java.lang.String messageTypeToString(int messageType)
           
static int originTypeStringToInt(java.lang.String originType)
           
static java.lang.String originTypeToString(int originType)
           
static void populate(Timestamp timestamp)
           
static void populate(Timestamp timestamp, org.apache.axis.MessageContext messageContext)
           
static java.lang.String serialize(Timestamp timestamp)
           
static java.lang.String toCSV(Timestamp timestamp)
           
static java.lang.String toCSV(Timestamp timestamp, boolean withHeaders)
           
static org.w3c.dom.Element toElement(Timestamp timestamp)
           
static java.lang.String toString(Timestamp timestamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADERS

public static final java.lang.String[] HEADERS

ORIGIN_TYPE_CLIENT

public static final int ORIGIN_TYPE_CLIENT
See Also:
Constant Field Values

ORIGIN_TYPE_SERVER

public static final int ORIGIN_TYPE_SERVER
See Also:
Constant Field Values

ORIGIN_TYPE_INVALID

public static final int ORIGIN_TYPE_INVALID
See Also:
Constant Field Values

MESSAGE_TYPE_REQUEST

public static final int MESSAGE_TYPE_REQUEST
See Also:
Constant Field Values

MESSAGE_TYPE_RESPONSE

public static final int MESSAGE_TYPE_RESPONSE
See Also:
Constant Field Values

MESSAGE_TYPE_INVALID

public static final int MESSAGE_TYPE_INVALID
See Also:
Constant Field Values
Constructor Detail

TimestampUtils

public TimestampUtils()
Method Detail

originTypeToString

public static java.lang.String originTypeToString(int originType)

originTypeStringToInt

public static int originTypeStringToInt(java.lang.String originType)

messageTypeToString

public static java.lang.String messageTypeToString(int messageType)

messageTypeStringToInt

public static int messageTypeStringToInt(java.lang.String messageType)

populate

public static void populate(Timestamp timestamp)

populate

public static void populate(Timestamp timestamp,
                            org.apache.axis.MessageContext messageContext)

deserialize

public static Timestamp deserialize(java.lang.String timestampXMLString)

extractTimestamps

public static java.util.Vector extractTimestamps(java.io.InputStream inputStream)
                                          throws java.io.IOException
Throws:
java.io.IOException

getFieldValues

public static java.lang.String[] getFieldValues(Timestamp timestamp)

toCSV

public static java.lang.String toCSV(Timestamp timestamp)

toCSV

public static java.lang.String toCSV(Timestamp timestamp,
                                     boolean withHeaders)

toString

public static java.lang.String toString(Timestamp timestamp)

toElement

public static org.w3c.dom.Element toElement(Timestamp timestamp)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

serialize

public static java.lang.String serialize(Timestamp timestamp)


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.