disabled, enabled, or virtualized using a custom
file system.
| Modifier and Type | Class and Description |
|---|---|
| public static class | IOAccess.
Builder to create a custom |
| Modifier and Type | Field and Description |
|---|---|
| public static final IOAccess | ALL
Provides guest language full access to host IO. |
| private final boolean | |
| private final boolean | |
| private final FileSystem | |
| private final String | |
| public static final IOAccess | NONE
Provides guest language no access to IO. |
| Access | Constructor and Description |
|---|---|
| pack-priv | IOAccess(String name, boolean allowHostFileAccess, boolean allowHostSocketAccess, FileSystem fileSystem)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| pack-priv FileSystem | |
| public int | |
| pack-priv boolean | |
| pack-priv boolean | |
| public static IOAccess. | |
| public static IOAccess. | newBuilder(IOAccess prototype)
Creates a new builder that allows to create a custom IO access configuration based of a preset configuration. |
| public String |
| ALL | back to summary |
|---|---|
| public static final IOAccess ALL Provides guest language full access to host IO. Guest language have full access to host file
system and host sockets. The Equivalent of using the following builder configuration:
| |
| allowHostFileAccess | back to summary |
|---|---|
| private final boolean allowHostFileAccess | |
| allowHostSocketAccess | back to summary |
|---|---|
| private final boolean allowHostSocketAccess | |
| fileSystem | back to summary |
|---|---|
| private final FileSystem fileSystem | |
| name | back to summary |
|---|---|
| private final String name | |
| NONE | back to summary |
|---|---|
| public static final IOAccess NONE Provides guest language no access to IO. Guest language only has read-only access to the
language's home files. The Equivalent of using the following builder configuration:
| |
| IOAccess | back to summary |
|---|---|
| pack-priv IOAccess(String name, boolean allowHostFileAccess, boolean allowHostSocketAccess, FileSystem fileSystem) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getFileSystem | back to summary |
|---|---|
| pack-priv FileSystem getFileSystem() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasHostFileAccess | back to summary |
|---|---|
| pack-priv boolean hasHostFileAccess() | |
| hasHostSocketAccess | back to summary |
|---|---|
| pack-priv boolean hasHostSocketAccess() | |
| newBuilder | back to summary |
|---|---|
| public static IOAccess. Creates a new builder that allows to create a custom IO access configuration. The builder
configuration needs to be completed using the
| |
| newBuilder | back to summary |
|---|---|
| public static IOAccess. Creates a new builder that allows to create a custom IO access configuration based of a
preset configuration. The preset configuration is copied and used as a template for the
returned builder. The builder configuration needs to be completed using the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
IO access configuration.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private FileSystem | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public IOAccess. | allowHostFileAccess(boolean allow)
If |
| public IOAccess. | allowHostSocketAccess(boolean allow)
If |
| public IOAccess | |
| public IOAccess. | Returns: theBuilderthe file system to use in the guest language fileSystem)Sets a new |
| pack-priv IOAccess. |
| allowHostFileAccess | back to summary |
|---|---|
| private boolean allowHostFileAccess | |
| allowHostSocketAccess | back to summary |
|---|---|
| private boolean allowHostSocketAccess | |
| customFileSystem | back to summary |
|---|---|
| private FileSystem customFileSystem | |
| name | back to summary |
|---|---|
| private String name | |
| Builder | back to summary |
|---|---|
| pack-priv Builder() | |
| Builder | back to summary |
|---|---|
| pack-priv Builder(IOAccess prototype) | |
| allowHostFileAccess | back to summary |
|---|---|
| public IOAccess. If
| |
| allowHostSocketAccess | back to summary |
|---|---|
| public IOAccess. If
| |
| build | back to summary |
|---|---|
| public IOAccess build() Creates an instance of the custom IO access configuration.
| |
| fileSystem | back to summary |
|---|---|
| public IOAccess. Sets a new
| |
| name | back to summary |
|---|---|
| pack-priv IOAccess. | |