DbtuTools project
Java Library

org.dbtutools.DbtuTools.core.db2
Class BindFile

java.lang.Object
  |
  +--org.dbtutools.DbtuTools.core.db2.BindFile

public class BindFile
extends java.lang.Object

Wrapper class, implementing DB2 bindfile related stuff. It cannot be instantiated.

Author:
Daniel Scheibli <daniel.scheibli at edelbyte.org>

Method Summary
static java.lang.String toTimestamp(java.lang.String oConsistencyToken)
          Converts a given Consistency Token into a timestamp.

Background: The Consistency Token is a unique identifier, which is used to ensure, the application and bindfile/package are based on the same build.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toTimestamp

public static java.lang.String toTimestamp(java.lang.String oConsistencyToken)
                                    throws java.lang.IllegalArgumentException,
                                           java.lang.NullPointerException
Converts a given Consistency Token into a timestamp.

Background: The Consistency Token is a unique identifier, which is used to ensure, the application and bindfile/package are based on the same build.
Parameters:
oConsistencyToken - The String holding the Consistency Token value.
Returns:
A new String, representing the calculated timestamp.
Throws:
java.lang.IllegalArgumentException - For the case, that the given Consistency Token has an invalid format, contains unexpected characters or the result is out of range.
java.lang.NullPointerException - If the oConsistencyToken argument was null.

DbtuTools project
Java Library