JAVA/CORBA CLASSES


Examples: readText method
1. This agent reads a text file and saves its content in the Body item of a new document in the current database. The agent uses the file name for the content of the Subject item.
2. This agent is similar to the first example but reads the file a line at a time. The agent adds text to the Body item of the new document until end of stream occurs.

See Also