SASFileSystemDelegate
IO definition for the SASManager.
This interface defines the File IO for the SASManager. All file input and
output goes through these calls. User applications can override this delegate
via SASManagerDelegate.getFileSystemDelegate()
.
Since
since 8.22-
Provides a FileSystemManager to the SASManager for FileIO.
In the default implementation, this will return FileManager.shared.
Since
since 8.22 -
Opens an input stream for a file.
Since
since 8.22 -
Writes the contents of a
Data
object to a file.@see Data.write()
Since
since 8.22 -
Gets the contents of a file as a
Data
object.@see
Data.init(contentsOf:)
Since
since 8.22 -
Gets the contents of a file as a
String
.See
see
String.init(contentsOfFile:encoding:)
Since
since 8.22
-
Gets the contents of a file as an image.
See
seeUIImage.init(contentsOfFile:)
Since
since 8.22