> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: IPHXLineStore

**Package:** `com.phoenix_int.aserver.util`

***

**Declaration**

```java theme={null}
public interface IPHXLineStore
```

This is the interface for holding a set of lines. It is used by the [`PHXFileParser`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/util/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

```java theme={null}
int getNumLines()
```

Gets the total number of lines

### getLine

```java theme={null}
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)`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/util/PHXFileParser) - Related method in file parser

### close

```java theme={null}
void close()
```

Closes any resources associated with this line store
