| java.lang.Object com.ibm.richtext.textapps.FileUtils
FileUtils | public class FileUtils (Code) | | |
loadMText | public static MConstText loadMText(File file)(Code) | | Return the MText serialized in the given file.
In case of an error return null.
|
userLoadMText | public static File userLoadMText(String title, MText dest, Frame owner)(Code) | | Present the user with a file dialog, and replace
dest with the MText in the selected file, and return
the file objct. If any errors occur, return null and
do not modify dest.
|
userSaveMText | public static File userSaveMText(File file, String title, MConstText text, Frame owner)(Code) | | Prompt the user for the file if file is null. Then save the
text in the file, if any.
|
|
|