xml2fol
Class XML2FOL

java.lang.Object
  extended by xml2fol.XML2FOL

public class XML2FOL
extends java.lang.Object

This is a class that saves the offsets and lengths (in bytes) for each of the elements in collection. To use this class you need xalan.jar http://xml.apache.org/xalan-j/


Constructor Summary
XML2FOL()
          Creates a XMl2FOL object without an input, table or index value, only saves values to the list (not the map), sets the minimum length to 0, saves text elements in the table sets the table type to binary, and sets sort to false.
 
Method Summary
 void ConvertXML(java.lang.String inname)
          Public interface.
 void CreateCollection()
           
static void main(java.lang.String[] args)
           
static void PrintStatusMessage()
          Prints a status message on how to use this program
 void ProcessArguments(java.lang.String[] args)
          Proceses the command line arguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XML2FOL

public XML2FOL()
Creates a XMl2FOL object without an input, table or index value, only saves values to the list (not the map), sets the minimum length to 0, saves text elements in the table sets the table type to binary, and sets sort to false. These values can be modifed by command line arguments.

Method Detail

ConvertXML

public void ConvertXML(java.lang.String inname)
Public interface. Gets the offset and lengths for the elements in a docuument or directory of documents.

Parameters:
inname - - the name of the directory or file

ProcessArguments

public void ProcessArguments(java.lang.String[] args)
Proceses the command line arguments

Parameters:
args - - The array of command line arguments

CreateCollection

public void CreateCollection()

PrintStatusMessage

public static void PrintStatusMessage()
Prints a status message on how to use this program


main

public static void main(java.lang.String[] args)