> ## 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: OutputFile2

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

**Interface Hierarchy**

```text theme={null}
↳ com.phoenix_int.aserver.util.scriptwrapper.api.OutputFile2
```

**All Known Implementing Classes:**

* [`CAEOutputFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/CAEOutputFile), [`PHXRowFieldFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/PHXRowFieldFile), [`XPathFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/XPathFile)

***

**Declaration**

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

Interface for output files (not file variables) used in script-wrappers

## Method Summary

| Modifier and Type | Method and Description |
| - | - |
| `void` | `parse()` Parse the output file |
| `void` | `setFileToParse(java.lang.String fileName)` Sets the file that will be parsed. |

## Method Detail

### parse

```java theme={null}
void parse()
    throws java.lang.Exception
```

Parse the output file

**Throws:**

* `java.lang.Exception`

### setFileToParse

```java theme={null}
void setFileToParse(java.lang.String fileName)
```

Sets the file that will be parsed. Usually this is synonymous with [`ParseableFile.setFileToGenerateOrParse(String)`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/ParseableFile)

**Parameters:**

* `fileName` - The file to parse
