Package gri.tasks.remote.files

Examples of gri.tasks.remote.files.URLFile


  //url:
  Element urlElem = elem.getChild("url");
  if (urlElem == null)
      throw new IOException("Invalid URLFile: Missing required 'url' element");
 
  URLFile file = new URLFile(urlElem.getText());
 
  //name:
  Element nameElem = elem.getChild("name");
  if (nameElem != null)
      file.setName(nameElem.getText());
 
  return file;
    }
View Full Code Here

TOP

Related Classes of gri.tasks.remote.files.URLFile

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.