FilePortParameter

This simple model illustrates various facilities for reading files. The DirectoryListing actor outputs an array containing the file names of files in a test directory. There are three files in that directory, each containing one line of text. The three file names are handed to the CompositeActor, which has a FilePortParameter. The file name becomes the value of a fileName parameter, which is then used by the FileReader actor. The FileReader actor reads the contents of the three files, which are then displayed by the Display actor. Note that the file names can also (more simply) be fed directly to a FileReader actor.

FilePortParameter is available in two formats:

See Web Start Help for details.