Double-click tJavaFlex to display its
Basic settings view and define the
- Click Sync columns to make sure that the schema is correctly retrieved from the preceding component.
In the Start code field, enter the
System.out.println("Content of file being transferred:\n");
In the Main code field, enter the code to
be applied on each line of data.
In this example, we want to display the content of the source file based on the defined dynamic schema column:
In the Main code field, "row1" refers to the name of the link that connects to tJavaFlex. If you rename this link, you have to modify the code.
In the End code field, enter the code
that will be executed in the closing phase.
In this example, the code indicates the end of the execution of tJavaFlex by displaying the "End of file" message:
System.out.println("\nEnd of file");