VTT Java
2010 Version

gov.nih.nlm.nls.vtt.Model
Class VttFormat

java.lang.Object
  extended by gov.nih.nlm.nls.vtt.Model.VttFormat

public class VttFormat
extends java.lang.Object

This is the Vtt Format Java class. There are four formats:

History:

Version:
V-2010
Author:
NLM NLS Development Team, clu

Field Summary
static int FIX_LENGTH_FORMAT
          fix length format: align with fixed length
static java.lang.String FIX_LENGTH_FORMAT_STR
          definition for fix length format string
static int READABLE_FORMAT
          readable format: align with auto length
static java.lang.String READABLE_FORMAT_STR
          definition for readable format string
static int SIMPLE_FORMAT
          simple format: no alignment on fields
static java.lang.String SIMPLE_FORMAT_STR
          definition for simple format string
static int SIMPLEST_FORMAT
          simplest format: no header, no annotation
static java.lang.String SIMPLEST_FORMAT_STR
          definition for simplest format string
 
Method Summary
static int GetVttFormat(java.lang.String vttFormatStr)
          Get Vtt format from vtt format String.
static java.lang.String GetVttFormatStr(int vttFormat)
          Get Vtt Format String from Vtt format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMPLE_FORMAT

public static final int SIMPLE_FORMAT
simple format: no alignment on fields

See Also:
Constant Field Values

READABLE_FORMAT

public static final int READABLE_FORMAT
readable format: align with auto length

See Also:
Constant Field Values

FIX_LENGTH_FORMAT

public static final int FIX_LENGTH_FORMAT
fix length format: align with fixed length

See Also:
Constant Field Values

SIMPLEST_FORMAT

public static final int SIMPLEST_FORMAT
simplest format: no header, no annotation

See Also:
Constant Field Values

SIMPLE_FORMAT_STR

public static final java.lang.String SIMPLE_FORMAT_STR
definition for simple format string

See Also:
Constant Field Values

READABLE_FORMAT_STR

public static final java.lang.String READABLE_FORMAT_STR
definition for readable format string

See Also:
Constant Field Values

FIX_LENGTH_FORMAT_STR

public static final java.lang.String FIX_LENGTH_FORMAT_STR
definition for fix length format string

See Also:
Constant Field Values

SIMPLEST_FORMAT_STR

public static final java.lang.String SIMPLEST_FORMAT_STR
definition for simplest format string

See Also:
Constant Field Values
Method Detail

GetVttFormat

public static int GetVttFormat(java.lang.String vttFormatStr)
Get Vtt format from vtt format String.

Parameters:
vttFormatStr - vtt format string
Returns:
integer value of Vtt format

GetVttFormatStr

public static java.lang.String GetVttFormatStr(int vttFormat)
Get Vtt Format String from Vtt format

Parameters:
vttFormat - integer value of vtt format
Returns:
Vtt format string

VTT Java
2010 Version

Submit a bug or feature

Copyright © 2010 National Library of Medicine