Package org.zaproxy.zap.utils
Class ZapSupportUtils
- java.lang.Object
-
- org.zaproxy.zap.utils.ZapSupportUtils
-
public final class ZapSupportUtils extends java.lang.Object
A class containing utility methods that can be used for support purposes. The functions in this class return details relevant for support and tickets prefixed with labels.- Since:
- 2.7.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getAll(boolean formatted)
static java.lang.String
getArch()
Gets the architecture (preceded with the corresponding label).static java.lang.String
getDefaultCharset()
Gets the default charset (preceded with the corresponding label).static java.lang.String
getInstalledAddons()
static java.lang.String
getJavaVersionVendor()
static java.lang.String
getLocaleDisplay()
static java.lang.String
getLocaleFormat()
static java.lang.String
getLocaleSystem()
static java.lang.String
getLookAndFeel()
static java.lang.String
getOperatingSystem()
static java.lang.String
getProductName()
static java.lang.String
getVersion()
static java.lang.String
getZapHomeDirectory()
static java.lang.String
getZapInstallDirectory()
Gets the installation directory (preceded with the corresponding label).
-
-
-
Method Detail
-
getProductName
public static java.lang.String getProductName()
-
getVersion
public static java.lang.String getVersion()
-
getZapHomeDirectory
public static java.lang.String getZapHomeDirectory()
-
getZapInstallDirectory
public static java.lang.String getZapInstallDirectory()
Gets the installation directory (preceded with the corresponding label).- Returns:
- the installation directory
- Since:
- 2.8.0
-
getOperatingSystem
public static java.lang.String getOperatingSystem()
-
getArch
public static java.lang.String getArch()
Gets the architecture (preceded with the corresponding label).- Returns:
- the architecture.
- Since:
- 2.12.0
-
getJavaVersionVendor
public static java.lang.String getJavaVersionVendor()
-
getLocaleDisplay
public static java.lang.String getLocaleDisplay()
-
getLocaleFormat
public static java.lang.String getLocaleFormat()
-
getLocaleSystem
public static java.lang.String getLocaleSystem()
-
getLookAndFeel
public static java.lang.String getLookAndFeel()
-
getInstalledAddons
public static java.lang.String getInstalledAddons()
-
getDefaultCharset
public static java.lang.String getDefaultCharset()
Gets the default charset (preceded with the corresponding label).- Returns:
- the default charset.
- Since:
- 2.12.0
-
getAll
public static java.lang.String getAll(boolean formatted)
-
-