Пример #1
0
 @Override
 public boolean loadDeferred(File fi) {
   return this.loadDeferred(FileUtil.fileToURL(fi));
 }
Пример #2
0
 /**
  * Load a file.
  *
  * <p>Handles problems locally to the extent that it can, by routing them to the
  * creationErrorEncountered method.
  *
  * @param fi file to load
  * @param registerDeferred true to register objects to defer
  * @return true if no problems during the load
  * @throws JmriConfigureXmlException
  * @see jmri.configurexml.XmlAdapter#loadDeferred()
  * @since 2.11.2
  */
 @Override
 public boolean load(File fi, boolean registerDeferred) throws JmriConfigureXmlException {
   return this.load(FileUtil.fileToURL(fi), registerDeferred);
 }