org.ow2.petals.commons.dump
Class DumpFileGenerator

java.lang.Object
  extended by org.ow2.petals.commons.dump.DumpFileGenerator

public class DumpFileGenerator
extends java.lang.Object

Author:
ofabre

Constructor Summary
DumpFileGenerator()
           
 
Method Summary
static java.io.File getUniqueDumpFile()
          Generate a File with an absolute path matching the following pattern:
- "${petals.home}/dump/yyyy.MM.dd-HH:mm:ss:SSS_uuid.log"
- Sample : /home/user/tools/petals/dump/1111.11.11-11:11:11:111_00000000-0000 -002a-0000-00000000002a.log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpFileGenerator

public DumpFileGenerator()
Method Detail

getUniqueDumpFile

public static final java.io.File getUniqueDumpFile()
Generate a File with an absolute path matching the following pattern:
- "${petals.home}/dump/yyyy.MM.dd-HH:mm:ss:SSS_uuid.log"
- Sample : /home/user/tools/petals/dump/1111.11.11-11:11:11:111_00000000-0000 -002a-0000-00000000002a.log

Returns:
Throws:
java.io.IOException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.