Interface: IPHXLineStore
Last update: 16.07.2025Package: com.phoenix_int.aserver.util
Declaration
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
| Modifier and Type | Method and Description |
|---|---|
void |
close()Closes any resources associated with this line store |
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
See Also:
PHXFileParser.getLine(int)- Related method in file parser
close
void close()
Closes any resources associated with this line store