JarInformation

class JarInformation(clazz: Class<*>)

Stores values gathered by JarUtilities.jarInformation for easy access. Values stored and provided by this class are:

  • The directory in which the exe or JAR reside in

  • The file used to start ServerPackCreator. Either an exe or a JAR

  • The filename of the exe or JAR

  • The Java version with which ServerPackCreator is being used

  • The operating systems' architecture

  • The operating systems' name

  • The operating systems' version

  • Whether an exe is being used for running ServerPackCreator

Parameters

clazz

The class from which to acquire information about the containing JAR-file and general location.

Constructors

Link copied to clipboard
constructor(clazz: Class<*>)

Properties

Link copied to clipboard

Whether a .exe or JAR-file was used for running ServerPackCreator.

Link copied to clipboard

The .exe or JAR-file of ServerPackCreator.

Link copied to clipboard

The name of the .exe or JAR-file.

Link copied to clipboard

The folder containing the ServerPackCreator.exe or JAR-file.

Link copied to clipboard

The path to the JAR-file or .exe of ServerPackCreator

Link copied to clipboard

The Java version used to run ServerPackCreator.

Link copied to clipboard

Architecture of the operating system on which ServerPackCreator is running on.

Link copied to clipboard

The name of the operating system on which ServerPackCreator is running on.

Link copied to clipboard

The version of the OS on which ServerPackCreator is running on.