Package com.stimulus.util

Examples of com.stimulus.util.TempFiles.markForDeletion()


   */
  private void thresholdReached(int current, int predicted) throws IOException
  {
    this.outFile = File.createTempFile(TMPFILE_PREFIX, TMPFILE_SUFFIX);
    TempFiles tempFiles = Config.getFileSystem().getTempFiles();
    tempFiles.markForDeletion(outFile);
    if (log.isDebugEnabled())
      log.debug("Writing message to file : " + outFile.getAbsoluteFile().getName());
    this.stream = new FileOutputStream(this.outFile);

    this.stream.write(this.buffer.array());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.