public abstract class

AbstractContext

extends EventSource
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.events.EventSource
     ↳ com.pnfsoftware.jeb.client.AbstractContext
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Base context for client contexts and core contexts. Basic variables are set up (eg, paths). This class is not configuration-aware.

Summary

Constants
String app_company
String app_dates
String app_description
String app_domain
String app_email_licensing
String app_email_support
String app_email_updates
String app_licensing_backup
String app_name
String app_uri
String app_url_apidoc
String app_url_changelist
String app_url_chat
String app_url_check_update
String app_url_check_update_backup
String app_url_devportal
String app_url_donate
String app_url_faq
String app_url_faqmem
String app_url_fileuploader
String app_url_forum
String app_url_genkey
String app_url_genkey_backup
String app_url_genlk
String app_url_github
String app_url_github_samples
String app_url_github_samples_scripts
String app_url_manual
String app_url_motd
String app_url_purchase
String app_url_uploaderrorlog
String app_website
Fields
public static final Version app_ver
public static boolean demo
protected boolean integrity_failed
protected boolean just_updated
[Expand]
Inherited Fields
From class com.pnfsoftware.jeb.util.events.EventSource
Public Constructors
AbstractContext()
Public Methods
final String getAppDirectory()
Get the JEB app directory, typically $JEB/bin/app.
final String getBaseDirectory()
Get the JEB base directory.
static String getChannelName()
final String getCurrentDirectory()
Get the current directory.
final File getJebClassesLocation()
Get the location of JEB classes.
final String getProgramDirectory()
Get the JEB program directory, typically $JEB/bin/.
final Version getSoftwareVersion()
Retrieve the global software version.
final int getStartTimestamp()
Get the program start date in seconds.
static boolean isPreRelease()
final static void terminate()
Terminate the program.
Protected Methods
static Net initNetworkUtility(String proxyString)
The global proxy settings will be updated/erased.
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.util.events.EventSource
From class java.lang.Object
From interface com.pnfsoftware.jeb.util.events.IEventSource

Constants

public static final String app_company

Constant Value: "PNF Software, Inc."

public static final String app_dates

Constant Value: "2015-2024"

public static final String app_description

Constant Value: "Interactive Decompilation for Software Analysis"

public static final String app_domain

Constant Value: "pnfsoftware.com"

public static final String app_email_licensing

Constant Value: "licensing@pnfsoftware.com"

public static final String app_email_support

Constant Value: "support@pnfsoftware.com"

public static final String app_email_updates

Constant Value: "software@pnfsoftware.com"

public static final String app_licensing_backup

Constant Value: "https://lise.pnfsoftware.com"

public static final String app_name

Constant Value: "JEB"

public static final String app_uri

Constant Value: "jeb:"

public static final String app_url_apidoc

Constant Value: "https://www.pnfsoftware.com/jeb/apidoc"

public static final String app_url_changelist

Constant Value: "https://www.pnfsoftware.com/jeb/changelist"

public static final String app_url_chat

Constant Value: "https://www.pnfsoftware.com/chat"

public static final String app_url_check_update

Constant Value: "https://www.pnfsoftware.com/jps/checkupdate"

public static final String app_url_check_update_backup

Constant Value: "https://lise.pnfsoftware.com/jps/checkupdate"

public static final String app_url_devportal

Constant Value: "https://www.pnfsoftware.com/jeb/devportal"

public static final String app_url_donate

Constant Value: "https://www.pnfsoftware.com/jeb/donate"

public static final String app_url_faq

Constant Value: "https://www.pnfsoftware.com/jeb/manual/faq"

public static final String app_url_faqmem

Constant Value: "https://www.pnfsoftware.com/jeb/faqmem"

public static final String app_url_fileuploader

Constant Value: "https://www.pnfsoftware.com/u"

public static final String app_url_forum

Constant Value: "https://www.pnfsoftware.com/forum"

public static final String app_url_genkey

Constant Value: "https://www.pnfsoftware.com/jps/genkey"

public static final String app_url_genkey_backup

Constant Value: "https://lise.pnfsoftware.com/jps/genkey"

public static final String app_url_genlk

Constant Value: "https://www.pnfsoftware.com/genlk"

public static final String app_url_github

Constant Value: "https://github.com/pnfsoftware"

public static final String app_url_github_samples

Constant Value: "https://github.com/pnfsoftware/jeb-samplecode"

public static final String app_url_github_samples_scripts

Constant Value: "https://github.com/pnfsoftware/jeb-samplecode/tree/master/scripts"

public static final String app_url_manual

Constant Value: "https://www.pnfsoftware.com/jeb/manual"

public static final String app_url_motd

Constant Value: "https://www.pnfsoftware.com/jeb/motd"

public static final String app_url_purchase

Constant Value: "https://www.pnfsoftware.com/jeb/buy"

public static final String app_url_uploaderrorlog

Constant Value: "https://www.pnfsoftware.com/upload_errorlog"

public static final String app_website

Constant Value: "https://www.pnfsoftware.com"

Fields

public static final Version app_ver

public static boolean demo

protected boolean integrity_failed

protected boolean just_updated

Public Constructors

public AbstractContext ()

Public Methods

public final String getAppDirectory ()

Get the JEB app directory, typically $JEB/bin/app.

public final String getBaseDirectory ()

Get the JEB base directory.

public static String getChannelName ()

public final String getCurrentDirectory ()

Get the current directory.

public final File getJebClassesLocation ()

Get the location of JEB classes.

Returns
  • a jar file (jeb.jar), or a bin/ folder containing classfiles

public final String getProgramDirectory ()

Get the JEB program directory, typically $JEB/bin/.

public final Version getSoftwareVersion ()

Retrieve the global software version.

public final int getStartTimestamp ()

Get the program start date in seconds.

Returns
  • a Unix timestamp

public static boolean isPreRelease ()

public static final void terminate ()

Terminate the program.

Protected Methods

protected static Net initNetworkUtility (String proxyString)

The global proxy settings will be updated/erased.