Loads a Rich Text Format (RTF) or text file into the RichEdit control.
public void loadFile( String path )
public synchronized void loadFile( String path, int fileType )
path
The path to the file.
fileType
The file type to load. This value must be one of the enumeration constants defined in the RichEditStreamType class.
WFCInvalidArgumentException thrown when an invalid value is specified in the fileType parameter.
WFCException thrown when an error occurs while loading the file.
See Also saveFile