Package gri.tasks.remote.files

Examples of gri.tasks.remote.files.TransferableFile


  LocalFile tFile = (file == null) ?
    null : new LocalFile(file);
  serializer.write(tFile, elem);
    }
    public File readFile(Element elem) throws IOException {
  TransferableFile tFile = (TransferableFile)serializer.read(elem);
  if (tFile == null)
      return null;
 
  if (tFile.isLocalFile())
      return tFile.getLocalFile();
 
  try {
      return (File)saveFileConverter.convert(tFile);
  }
  catch(ConversionException e) {
View Full Code Here

TOP

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

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.