Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.data
Class JOETypeTable  view JOETypeTable download JOETypeTable.java

java.lang.Object
  extended byjoelib.data.JOEGlobalDataBase
      extended byjoelib.data.JOETypeTable

public class JOETypeTable
extends JOEGlobalDataBase

Type table to map internal atom types to atom types of other file formats. The definition file can be defined in the joelib.data.JOETypeTable.resourceFile property in the wsi.ra.tool.PropertyHolder. The wsi.ra.tool.ResourceLoader loads the joelib.properties file for default.

Default:
joelib.data.JOETypeTable.resourceFile=joelib/data/plain/types.txt


Field Summary
private  java.util.Vector _colnames
          of type String
private  int _from
           
private  int _ncols
           
private  int _nrows
           
private  java.util.Vector _table
          of type String-java.util.Vector
private  int _to
           
protected static java.lang.String DEFAULT_RESOURCE
           
private static org.apache.log4j.Category logger
           
private static JOETypeTable typeTable
           
 
Fields inherited from class joelib.data.JOEGlobalDataBase
initialized, resourceFile
 
Constructor Summary
private JOETypeTable()
          Constructor for the JOETypeTable object
 
Method Summary
 void finalize()
          Description of the Method
static JOETypeTable instance()
          Description of the Method
 void parseLine(java.lang.String buffer)
          Description of the Method
 boolean setFromType(java.lang.String from)
          Sets the fromType attribute of the JOETypeTable object
 boolean setToType(java.lang.String to)
          Sets the toType attribute of the JOETypeTable object
 java.lang.String translate(char[] from)
          Description of the Method
 java.lang.String translate(java.lang.String from)
          Description of the Method
 
Methods inherited from class joelib.data.JOEGlobalDataBase
getLineCounter, init
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Category logger

typeTable

private static JOETypeTable typeTable

DEFAULT_RESOURCE

protected static final java.lang.String DEFAULT_RESOURCE
See Also:
Constant Field Values

_colnames

private java.util.Vector _colnames
of type String


_table

private java.util.Vector _table
of type String-java.util.Vector


_from

private int _from

_ncols

private int _ncols

_nrows

private int _nrows

_to

private int _to
Constructor Detail

JOETypeTable

private JOETypeTable()
Constructor for the JOETypeTable object

Method Detail

setFromType

public boolean setFromType(java.lang.String from)
Sets the fromType attribute of the JOETypeTable object


setToType

public boolean setToType(java.lang.String to)
Sets the toType attribute of the JOETypeTable object


finalize

public void finalize()
Description of the Method

Overrides:
finalize in class JOEGlobalDataBase

instance

public static JOETypeTable instance()
Description of the Method


parseLine

public void parseLine(java.lang.String buffer)
Description of the Method

Specified by:
parseLine in class JOEGlobalDataBase

translate

public java.lang.String translate(char[] from)
Description of the Method


translate

public java.lang.String translate(java.lang.String from)
Description of the Method