Package gri.tasks.managers.util

Examples of gri.tasks.managers.util.FileBasedInfoManager


    Element fileElem = elem.getChild("file");
    if (fileElem == null)
      throw new MissingElementException("file", elem);
    File file = new File(fileElem.getText());

    FileBasedInfoManager manager = new FileBasedInfoManager(file);

    Element saveElem = elem.getChild("autoSave");
    if (saveElem != null)
      manager.setAutoSave(saveElem.getText().toLowerCase().equals("true"));

    return manager;
  }
View Full Code Here

TOP

Related Classes of gri.tasks.managers.util.FileBasedInfoManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.