TC Java
2011 Version

gov.nih.nlm.nls.tc.LoadDb
Class AnalyzeData

java.lang.Object
  extended by gov.nih.nlm.nls.tc.LoadDb.AnalyzeData

public class AnalyzeData
extends java.lang.Object

This class is used to read & analyze the original table file. It finds the max. length of each field. The size of each field in DB tables should be adjusted accordingly. This is program should be run before tables are created in the DB.

History:

Version:
V-2011
Author:
NLM Lexical Systems Group

Constructor Summary
AnalyzeData()
           
 
Method Summary
static void AnalyzeFile(java.lang.String inFile, int fieldNum)
          Analyze the field size from a specified input file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyzeData

public AnalyzeData()
Method Detail

AnalyzeFile

public static void AnalyzeFile(java.lang.String inFile,
                               int fieldNum)
Analyze the field size from a specified input file.

Parameters:
inFile - input file
fieldNum - the total number of the DB table (input file)

TC Java
2011 Version

Submit a bug or feature

Copyright © 2011 National Library of Medicine