com.phoenix_int.aserver.util
Interface IPHXLineStore


public interface IPHXLineStore

This is the interface for holding a set of lines. It is used by the PHXFileParser class. Concrete classes include PHXFileLineStore and PHXRandomAccessFileLineStore.


Method Summary
 void close()
          close any resources associated with this line store
 java.lang.String getLine(int index)
          retrieves the specified line
 int getNumLines()
          gets the total number of lines
 

Method Detail

getNumLines

int getNumLines()
gets the total number of lines


getLine

java.lang.String getLine(int index)
                         throws java.io.IOException
retrieves the specified line

Parameters:
index - the index of the line to retrieve
Throws:
java.io.IOException

close

void close()
close any resources associated with this line store