示例#1
0
 public void setFile(File file) throws IOException {
   url_ = null;
   file_ = file;
   text_ = UString.makeStringFromFile(file);
   setChanged();
   notifyObservers();
 }
示例#2
0
 protected void _doImportFromFile(File file) {
   try {
     String text = UString.makeStringFromFile(file);
     setText(text);
   } catch (IOException e) {
     throw (new InternalError());
   }
 }