public class FileHelper
extends java.lang.Object
Constructor and Description |
---|
FileHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
zipLogcatFile(java.lang.String sourcePath,
java.lang.String destinationPath,
java.lang.String destinationFileName,
java.lang.String deviceId)
Create a Zip File containing the Logcat file.
|
public static boolean zipLogcatFile(java.lang.String sourcePath, java.lang.String destinationPath, java.lang.String destinationFileName, java.lang.String deviceId)
sourcePath
- Directory path of logcat file to zip.destinationPath
- Directory path where to store the compressed zip file.destinationFileName
- Filename with extension, but without directory path.deviceId
- A unique identifier for the device.