Class SpoolManager

java.lang.Object
com.softwaremining.vendors.cics.util.SpoolManager

public class SpoolManager extends Object
Translation of CICS SPOOLOPEN SPOOLWRITE and SPOOLCLOSE
The SpoolManager writes files out to a directory defined by Config.PRINT_DIR (defaults to DATA_DIR).

NOTE a separate script needs to be scanning this directory and send the "unlocked" files to printer and then to delete the file.
The data will stay in memory until the "close()" method is called - only on "close()" the target file will be generated. This allows the "folder scanner" application not to have to deal with partially written data.