| Package | Description |
|---|---|
| org.safs | |
| org.safs.text |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SAFSPlus.Files.CreateFile(java.lang.String file,
FileUtilities.Mode mode,
FileUtilities.Access access,
java.lang.String fileNoVar,
java.lang.String... optionals)
Create and open a new file with the filename, mode and access provided.
Note: After calling this method, DO NOT forget to Close: Files.CloseFile(fileNo); Note: For parameter Mode and Access, only a few combinations are permitted, as following: FileUtilities.Access.W, OUTPUT
FileUtilities.Access.W, APPEND
FileUtilities.Access.R, INPUT |
static boolean |
SAFSPlus.Files.OpenFile(java.lang.String file,
FileUtilities.Mode mode,
FileUtilities.Access access,
java.lang.String fileNoVar,
java.lang.String... fileNo)
Open an file with the filename, mode and access provided.
Note: After calling this method, DO NOT forget to Close: Files.CloseFile(fileNo); Note: For parameter Mode and Access, only a few combinations are permitted, as following: FileUtilities.Access.W, OUTPUT
FileUtilities.Access.W, APPEND
FileUtilities.Access.R, INPUT |
static boolean |
SAFSPlus.Files.OpenUTF8File(java.lang.String file,
FileUtilities.Mode mode,
FileUtilities.Access access,
java.lang.String fileNoVar,
java.lang.String... optionals)
Open an UTF-8 file with the filename, mode and access provided.
Note: After calling this method, DO NOT forget to Close: Files.CloseFile(fileNo); Note: For parameter Mode and Access, only a few combinations are permitted, as following: FileUtilities.Access.W, OUTPUT
FileUtilities.Access.W, APPEND
FileUtilities.Access.R, INPUT |
| Modifier and Type | Method and Description |
|---|---|
static FileUtilities.Mode |
FileUtilities.Mode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileUtilities.Mode[] |
FileUtilities.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © SAS Institute. All Rights Reserved.