CMSFileEditor

Purpose: Allows the opening and saving of a CMS file on a specified CMS accessed disk.

Properties:

zVMCommandLineController commandLine;

Public Methods:

CMSFileEditor (zVMCommandLineController myCommandLine)

Creates a new CMSFileEditor object and passes the command line controller that is to be used to edit the file. It is assumed that this command line controller is already connected and logged in. It is also assumed that the disk containing the file to the read/written is already accessed and has permissions making it readable.

String openFile(String fn, String fe, String fm)

Returns the file FN FE FM as a String. Returns “” in the case of an error. The file returned is the file local to the guest logged in on the zVMCommandLineController

void saveFile(String modifiedFile, String fn, String fe, String fm)

Saves the text in modifiedFile to FN FE FM. It is assumed that this command line controller is already connected and logged in. It is also assumed that the disk containing the file to the read/written is already accessed and has permissions making it writable.

Private Methods:

2004-03-04T18:56:25