Package | Description |
---|---|
agi.foundation.compatibility | |
agi.foundation.infrastructure |
Contains types which support various aspects of the DME Component Libraries infrastructure.
|
Modifier and Type | Field and Description |
---|---|
static FileAccess |
FileAccess.NONE |
static FileAccess |
FileAccess.READ
Read access to the file.
|
static FileAccess |
FileAccess.READ_WRITE
Read and write access to the file.
|
static FileAccess |
FileAccess.WRITE
Write access to the file.
|
Modifier and Type | Method and Description |
---|---|
FileAccess |
FileAccess.add(FileAccess other)
Add the specified value to the current set and return the result.
|
static FileAccess |
FileAccess.getDefault()
Get the value that is considered to be the default.
|
static FileAccess |
FileAccess.getFromValue(int value)
Get the set of values that are associated with the given numeric value.
|
static FileAccess |
FileAccess.of(FileAccess... enums)
Create a new value built by combining the specified values.
|
FileAccess |
FileAccess.remove(FileAccess other)
Remove the specified value from the current set and return the result.
|
static FileAccess[] |
FileAccess.values()
Returns an array containing the constants of this enum type, in the order they're
declared.
|
Modifier and Type | Method and Description |
---|---|
FileAccess |
FileAccess.add(FileAccess other)
Add the specified value to the current set and return the result.
|
boolean |
FileAccess.contains(FileAccess other)
Determines whether the specified value is present in the current set.
|
static FileAccess |
FileAccess.of(FileAccess... enums)
Create a new value built by combining the specified values.
|
FileAccess |
FileAccess.remove(FileAccess other)
Remove the specified value from the current set and return the result.
|
Constructor and Description |
---|
FileStream(String path,
FileMode mode,
FileAccess fileAccess)
Initializes a new instance of the FileStream class with the specified path,
creation mode, and read/write permission.
|
Constructor and Description |
---|
FileStreamFactory(String path,
FileMode mode,
FileAccess access)
Initializes a new instance of the factory that constructs a new
FileStream with
FileStream.FileStream(String,FileMode,FileAccess) when FileStreamFactory.openStream()
is called. |