Executable

Inheritance: java.lang.Object

public abstract class Executable

The base class for classes that emulate the behavior of OS executables, which can be run by the occurrences of Object TeX’s \write18 primitive.

Constructors

ConstructorDescription
Executable()

Methods

MethodDescription
getCommandName()Returns the name of the executable (command).
execute(String[] args)The method implementing the executable’s behavior.

Executable()

public Executable()

getCommandName()

public abstract String getCommandName()

Returns the name of the executable (command).

Returns: java.lang.String - The name of the executable (command).

execute(String[] args)

public abstract void execute(String[] args)

The method implementing the executable’s behavior.

Parameters:

ParameterTypeDescription
argsjava.lang.String[]The array of command line arguments.