
FileReader |
ptolemy.actor.lib.io.FileReader |
This actor reads a file or URL and outputs the entire file
as a single string. The file or URL is specified using any form
acceptable to FileParameter.
Author(s): Yang Zhao (contributor: Edward A. Lee)
Version:$Id: FileReader.java,v 1.29 2006/04/13 22:38:41 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (reviewmoderator)
fileOrURLPort
An input port for optionally providing a file name. This has
type string.
fileOrURL
The file name or URL from which to read. This is a string with
any form accepted by FileParameter.
newline
The end of line character(s). The default value is the value
of the line.separator property