Package org.molgenis.util

Examples of org.molgenis.util.FileLink


  {
    // File temp = new File("d:\\Temp\\"+System.currentTimeMillis());
    // String tempDir = System.getProperty("java.io.tmpdir");
    File temp = File.createTempFile(MOLGENIS_TEMP_PATH, "");
    logger.debug("create temp file: " + temp);
    return new FileLink(temp, "download/" + temp.getName());
  }
View Full Code Here

TOP

Related Classes of org.molgenis.util.FileLink

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.