ExecutablesList
Contents
[
Hide
]Inheritance: java.lang.Object
public class ExecutablesList
Encapsulates a collection of objects that emulate executables, which can be executed using the \write18 commands in ObjectTeX.
Constructors
Constructor | Description |
---|---|
ExecutablesList() |
Methods
Method | Description |
---|---|
add(Executable exec) | Adds a new executable to the collection. |
remove(String commandName) | Removes an executable by its name. |
getList() | Displays the collection as a read-only list of executables’ names. |
ExecutablesList()
public ExecutablesList()
add(Executable exec)
public void add(Executable exec)
Adds a new executable to the collection.
Parameters:
Parameter | Type | Description |
---|---|---|
exec | Executable | An instance of Executable ’s subclass. |
remove(String commandName)
public void remove(String commandName)
Removes an executable by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
commandName | java.lang.String | The name of an executable. |
getList()
public Set<String> getList()
Displays the collection as a read-only list of executables’ names.
Returns: java.util.Set<java.lang.String> - The collection as a read-only list of executables’ names.