load()

This method loads a saved chart from a Java input stream or URL. If bMerge is true, the contents of the file will be merged with the methods and properties that define the current chart. If bMerge is false, the contents of the file replaces the definition of the current file. Note that the Java input stream or URL must identify an ASCII text file that contains the properties and methods that are supported by Perspective.

Syntax:

void load (java.io.InputStream is, boolean bMerge ); throws java.io.IOException

void load (java.lang.String szURL, boolean bMerge );

Input:

is: a Java Input Stream

szURL: URL

bMerge: true = merge loaded file with current chart definition / false = replace current chart with the loaded file

Return:

void;

Also See:

save()