|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vishia.java2C.Java2C_Main.ListFileIn
private static class Java2C_Main.ListFileIn
Helper class to create instances of Java2C_Main.FileIn for each detect input file.
The class holds informations for pre- and postfixes for the C-filenames.
This class implements the FileSystem.AddFileToList-interface.
using:
Java2C_Main.listFileIn is created in the outer class
Java2C_Main.
-i:INPUT-argument
or evaluating a given -if:INPFILE inside #readConfigFile(String).
Java2C_Main.addInputFilemask(String sMask, String sCPrefix, String sCPostfix).
FileSystem.addFileToList(String, org.vishia.util.FileSystem.AddFileToList)
is called with this instance.
addFileToList the interface method
FileSystem.AddFileToList.add(File) is called.
This routine is implemented here and adds instances of Java2C_Main.FileIn per detected file.
| Field Summary | |
|---|---|
private java.util.List<Java2C_Main.FileIn> |
listFileIn
List of all files, which are inputs for Java2C-translation. |
private java.lang.String |
sPostfix
Prefix and Postfix for actual parsing. |
private java.lang.String |
sPrefix
Prefix and Postfix for actual parsing. |
| Constructor Summary | |
|---|---|
private |
Java2C_Main.ListFileIn()
|
| Method Summary | |
|---|---|
void |
add(java.io.File file)
Adds a file called in FileSystem.addFileToList(String, org.vishia.util.FileSystem.AddFileToList). |
void |
setPrePostfix(java.lang.String sPrefix,
java.lang.String sPostfix)
Sets the pre- and postfix for the next detected files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.List<Java2C_Main.FileIn> listFileIn
private java.lang.String sPrefix
FileIn#sCName using this informations.
private java.lang.String sPostfix
FileIn#sCName using this informations.
| Constructor Detail |
|---|
private Java2C_Main.ListFileIn()
| Method Detail |
|---|
public void add(java.io.File file)
FileSystem.addFileToList(String, org.vishia.util.FileSystem.AddFileToList).
add in interface FileSystem.AddFileToListpublic void setPrePostfix(java.lang.String sPrefix, java.lang.String sPostfix)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||