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

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

**All Superinterfaces**

* [`ParseableFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/ParseableFile)

**All Known Implementing Classes**

* [`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 InputFile
extends ParseableFile
```

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

**See Also:**

* [`ParseableFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/ParseableFile) - Base interface for parseable files
* [`OutputFile`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/OutputFile), [`OutputFile2`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/OutputFile2) - Related output file interfaces
* [`PHXScriptWrapperObject`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/PHXScriptWrapperObject) - Script wrapper object that uses input files

## Nested Class Summary

### Nested classes/interfaces inherited from interface com.phoenix\_int.aserver.util.scriptwrapper.api.ParseableFile

[`ParseableFile.Mode`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/ParseableFile.Mode)

## Method Summary

| Modifier and Type | Method and Description |
| - | - |
| `void` | `generate()` Generate the input file |
| `void` | `setFileToGenerate(java.lang.String fileName)` Set the file to be generated |

### Methods inherited from interface ParseableFile

`backup`, `close`, `delete`, `readTemplate`, `setFileToGenerateOrParse`, `setTempEmbedded`, `setTemplateFile`, `setVariable`

## Method Detail

### generate

```java theme={null}
void generate() 
       throws java.io.IOException, 
              com.phoenix_int.aserver.util.PHXInvalidFormatException, 
              PHXNoSuchTokenException, 
              java.lang.IllegalAccessException, 
              java.lang.InstantiationException, 
              PHXNumberFormatException, 
              PHXBookmarkNotFoundException, 
              PHXSectionNotFoundException
```

Generate the input file

**Throws:**

* `java.io.IOException`
* `com.phoenix_int.aserver.util.PHXInvalidFormatException`
* `PHXNoSuchTokenException`
* `java.lang.IllegalAccessException`
* `java.lang.InstantiationException`
* `PHXNumberFormatException`
* [`PHXBookmarkNotFoundException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/PHXBookmarkNotFoundException)
* [`PHXSectionNotFoundException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/PHXSectionNotFoundException)

**See Also:**

* [`PHXRowFieldFile.generate()`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/PHXRowFieldFile) - Implementation in PHXRowFieldFile
* [`XPathFile.generate()`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/XPathFile) - Implementation in XPathFile
* [`PHXBookmark`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/PHXBookmark) - Related bookmark functionality
* [`PHXSection`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/PHXSection) - Related section functionality

### setFileToGenerate

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

Set the file to be generated

**Parameters:**

* `fileName` - file name

**See Also:**

* [`PHXRowFieldFile.setFileToGenerate(String)`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/PHXRowFieldFile) - Implementation in PHXRowFieldFile
* [`XPathFile.setFileToGenerate(String)`](https://developer.synopsys.com/docs/modelcenter/modelcenter-scriptwrapper-api/java_scriptwrapper_api/api/XPathFile) - Implementation in XPathFile
