Package org.serviceconnector.util
Class DumpUtility
java.lang.Object
org.serviceconnector.util.DumpUtility
The Class DumpUtility. This class provides several dump utility functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddeleteAllDumpFiles(String dumpPath) Delete all dump files for given dump path.static File[]getDumpFiles(String dumpPath) Gets all dump files matching given criterias.static voidreadDumpFileToWriter(String dumpPath, String dumpFile, Writer writer) Read dump file to writer.
-
Method Details
-
getDumpFiles
Gets all dump files matching given criterias.- Parameters:
dumpPath- the dump path- Returns:
- the dump files
-
deleteAllDumpFiles
Delete all dump files for given dump path.- Parameters:
dumpPath- the dump path
-
readDumpFileToWriter
public static void readDumpFileToWriter(String dumpPath, String dumpFile, Writer writer) throws IOException Read dump file to writer.- Parameters:
dumpPath- the dump pathdumpFile- the dump filewriter- the writer- Throws:
IOException- Signals that an I/O exception has occurred.
-