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: W , FileUtilities.Mode.OUTPUT
W , FileUtilities.Mode.APPEND
R , FileUtilities.Mode.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: W , FileUtilities.Mode.OUTPUT
W , FileUtilities.Mode.APPEND
R , FileUtilities.Mode.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: W , FileUtilities.Mode.OUTPUT
W , FileUtilities.Mode.APPEND
R , FileUtilities.Mode.INPUT |
Modifier and Type | Method and Description |
---|---|
static FileUtilities.Access |
FileUtilities.Access.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileUtilities.Access[] |
FileUtilities.Access.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © SAS Institute. All Rights Reserved.