DataFile 1.4
A C D F G I N O P S T

A

add(String) - Method in class com.infomata.data.DataRow
Adds a String datum to the next location
add(int) - Method in class com.infomata.data.DataRow
Adds an int datum to the next location.
add(long) - Method in class com.infomata.data.DataRow
Adds a long datum to the next location.
add(double) - Method in class com.infomata.data.DataRow
Adds a double datum to the next location.
add(Object) - Method in class com.infomata.data.DataRow
Adds an object with toString() method defined to the next item.
addEmpty() - Method in class com.infomata.data.DataRow
Adds an empty item (spacer)

C

CSVFormat - class com.infomata.data.CSVFormat.
Implementation DataFormat interface for CSV formated files.
CSVFormat() - Constructor for class com.infomata.data.CSVFormat
 
clear() - Method in class com.infomata.data.DataRow
Remove the content of DataRow.
close() - Method in class com.infomata.data.DataFile
Closes a data file.
com.infomata.data - package com.infomata.data
 
containsHeader(boolean) - Method in class com.infomata.data.DataFile
Sets the indicator for header row (must be first line of data file).
containsHeader() - Method in class com.infomata.data.DataFile
Checks if header indicator has been turned on using DataFile.containsHeader(boolean).
createReader(String) - Static method in class com.infomata.data.DataFile
Creates a reader instance of a data file.
createWriter(String, boolean) - Static method in class com.infomata.data.DataFile
Creates a writer instance of DataFile used for writing a data file.

D

DataFile - class com.infomata.data.DataFile.
Main class for generating or reading data files written in widely accepted data format.
DataFormat - interface com.infomata.data.DataFormat.
Interface for all data format classes used in reading and writing a data file.
DataRow - class com.infomata.data.DataRow.
Object representing collection of data items contained within one line of the data file
DataRow() - Constructor for class com.infomata.data.DataRow
Creates a new DataRow instance.
DataRow(NumberFormat) - Constructor for class com.infomata.data.DataRow
Creates a new DataRow instance.

F

FixedWidthFormat - class com.infomata.data.FixedWidthFormat.
Data file format that uses fixed width to define each item per row of data.
FixedWidthFormat(int[]) - Constructor for class com.infomata.data.FixedWidthFormat
Creates a new FixedWidthFormat instance.
finalize() - Method in class com.infomata.data.DataFile
Finalization method that closes the file descriptor.
format(DataRow) - Method in class com.infomata.data.CSVFormat
Converts a set of data into a line in data file.
format(DataRow) - Method in interface com.infomata.data.DataFormat
Converts the data contained in the DataRow object into a line of data.
format(DataRow) - Method in class com.infomata.data.FixedWidthFormat
Formats the data contained in DataRow object into a String according to pre-defined widths.
format(DataRow) - Method in class com.infomata.data.ItemPerLineFormat
 
format(DataRow) - Method in class com.infomata.data.SimpleDelimiterFormat
 
format(DataRow) - Method in class com.infomata.data.TabFormat
Describe format method here.

G

getDate(int, String) - Method in class com.infomata.data.DataRow
Retrieves the date using the specified pattern to parse the date.
getDate(String, String) - Method in class com.infomata.data.DataRow
Retrieves the date corresponding to the specified column label.
getDouble(int) - Method in class com.infomata.data.DataRow
Retrieves the double value of the datum contained in the specified location.
getDouble(String) - Method in class com.infomata.data.DataRow
Retrieve the double value contained in data cell corresponding to the specified column label
getDouble(int, double) - Method in class com.infomata.data.DataRow
Retrieves the double value of the datum contained in the specified location.
getDouble(int, DecimalFormat, double) - Method in class com.infomata.data.DataRow
Retrieves the double value at specified location parsed using format.
getDouble(String, double) - Method in class com.infomata.data.DataRow
Retrieve the double value contained in data cell corresponding to the specified column label.
getHeaderList() - Method in class com.infomata.data.DataFile
Retrieves the list of header names found in the first row of the data file in the sequence they appear.
getHeaderNames() - Method in class com.infomata.data.DataFile
Deprecated. use DataFile.getHeaderList() instead.
getInt(int) - Method in class com.infomata.data.DataRow
Retrieves the int value of the datum contained in the specified location.
getInt(String) - Method in class com.infomata.data.DataRow
Retrieves the int value of the datum contained under specified column label.
getInt(int, int) - Method in class com.infomata.data.DataRow
Retrieves the int value of the datum contained in the specified location.
getInt(int, DecimalFormat, int) - Method in class com.infomata.data.DataRow
Retrieves the int value at specified location parsed using format.
getInt(String, int) - Method in class com.infomata.data.DataRow
Retrieves the int value under the specified column label.
getSqlDate(int, String) - Method in class com.infomata.data.DataRow
Retrieve the date value at the specified location in specified pattern as an instance of java.sql.Date instead of java.util.Date.
getString(int) - Method in class com.infomata.data.DataRow
Retrieves the String value contained in the specified location.
getString(String) - Method in class com.infomata.data.DataRow
Retrieves the String value located under specified column label.
getString(int, String) - Method in class com.infomata.data.DataRow
Retrieves the String value contained in the specified location or defaultVal if it does not.
getString(String, String) - Method in class com.infomata.data.DataRow
Retrieves the String value contained under the specified column label.

I

ItemPerLineFormat - class com.infomata.data.ItemPerLineFormat.
Sample implementation of DataFormat interface for data file with one item per line.
ItemPerLineFormat() - Constructor for class com.infomata.data.ItemPerLineFormat
 
iterator() - Method in class com.infomata.data.DataRow
Retrieves an iterator for items

N

next() - Method in class com.infomata.data.DataFile
Retrieves the next row for reading or writing data

O

open(File) - Method in class com.infomata.data.DataFile
Opens a data file for reading or writing
open(URL) - Method in class com.infomata.data.DataFile
 

P

parseLine(String) - Method in class com.infomata.data.CSVFormat
Parses a line of data properly formatted in CSV format into set of data.
parseLine(String) - Method in interface com.infomata.data.DataFormat
Parses a line of data into a DataRow object which contains each data item in individual cells.
parseLine(String) - Method in class com.infomata.data.FixedWidthFormat
Parses a line of text containing data contained according to pre-defined character widths.
parseLine(String) - Method in class com.infomata.data.ItemPerLineFormat
 
parseLine(String) - Method in class com.infomata.data.SimpleDelimiterFormat
 
parseLine(String) - Method in class com.infomata.data.TabFormat
parses a line of data separated by tab into DataRow object.

S

SimpleDelimiterFormat - class com.infomata.data.SimpleDelimiterFormat.
SimpleDelimiterFormat is configurable data format that uses simple delimiter and escape sequence scheme to encode data into a text file.
SimpleDelimiterFormat(String, String) - Constructor for class com.infomata.data.SimpleDelimiterFormat
Creates a new instance of SimpleDelimiterFormat with specified delimiter and escape sequence.
setDataFormat(DataFormat) - Method in class com.infomata.data.DataFile
Sets the data format to be read or written.
size() - Method in class com.infomata.data.DataRow
Retrieves the number of location in row.

T

TabFormat - class com.infomata.data.TabFormat.
Implementation of DataFormat interface for tab delimited data file.
TabFormat() - Constructor for class com.infomata.data.TabFormat
 
toString() - Method in class com.infomata.data.DataRow
For debugging purpose.

A C D F G I N O P S T
DataFile 1.4

Copyright © 2004 Infomata. All Rights Reserved.