public class DigesterSupportUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONDITION_APP_DIED
Represents the application died condition.
|
static int |
CONDITION_EDT_HANG
Represents the EDT hang condition.
|
static int |
CONDITION_EXPLICIT
Represents the explicit condition (forced dialog).
|
static int |
MODE_PREVIEW
Represents a mode.
|
static int |
MODE_SAVE
Represents a mode.
|
static int |
MODE_SUBMIT
Represents a mode.
|
Constructor and Description |
---|
DigesterSupportUtils()
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
deobfuscateLogFile()
De-obfuscates a given log file based on the ProGuard map file.
|
static void |
openStatusReport()
Opens a status report.
|
static void |
prepareSupportData(int mode,
java.util.Vector<java.lang.Object[]> messages,
java.io.File[] attachments,
boolean license,
boolean logfiles,
boolean statusinfo,
boolean screenshots)
Collects relevant data from the application (preview is optional).
|
static void |
showSupportAskDialog(int condition,
java.io.File[] attachments)
Prepares to send support data after displaying an optional choice dialog.
|
public static final int CONDITION_EXPLICIT
public static final int CONDITION_EDT_HANG
public static final int CONDITION_APP_DIED
public static final int MODE_PREVIEW
public static final int MODE_SUBMIT
public static final int MODE_SAVE
public static void showSupportAskDialog(int condition, java.io.File[] attachments)
condition
- CONDITION_EDT_HANG|...attachments
- The user attachments (optional)public static void prepareSupportData(int mode, java.util.Vector<java.lang.Object[]> messages, java.io.File[] attachments, boolean license, boolean logfiles, boolean statusinfo, boolean screenshots)
mode
- MODE_PREVIEW|...messages
- The messages with index 0=subject (String), index 1=text (String), index 2=type (int)attachments
- The attachments (optional)license
- Add license info?logfiles
- Add log files?statusinfo
- Add status info?screenshots
- Add screenshots?public static void openStatusReport()
public static void deobfuscateLogFile()
Copyright © 2005-2015 Leisenfels UG. All rights reserved.