Package avail. files
Types
A AbstractFileWrapper is an abstraction for holding an AvailFile. The purpose of this is to enable the Avail server FileManager cache to delay establishing the type of AvailFile until the file type can be read without delaying adding a file object to the FileManager cache.
AvailFile is a specification for declaring behavior and state for a file that has been opened from the hierarchy of an Avail ModuleRoot.
EditRange is a FileAction that effectively first removes data from the stated range (with an exclusive upper bound), then splits the file and inserts the new data at the position where the first element was removed.
A ErrorServerFileWrapper is a AbstractFileWrapper that encountered an error when accessing the underlying file.
FileAction declares the methods and states for a performing a FileActionType on an AvailFile.
FileActionType is an enum that describes the types of actions that can be requested occur when interacting with an AvailFile.
FileErrorCode is an enumeration of ErrorCode that list errors that can happen while dealing with files.
A FileErrorCodeRange is an ErrorCodeRange that holds defined error codes that involve failures while handling files.
FileManager manages the access to the source and resource files in Avail s. It provides an LRU caching mechanism by which open files can be added and removed as needed to control the number of open files in memory.
A ManagedFileWrapper is an AbstractFileWrapper used by the FileManager to hold an AvailFile that is on the file system of the machine Avail is running. The purpose of this is to enable the FileManager cache to delay establishing the type of the AvailFile until the file type can be read without delaying adding a file object to the FileManager cache.
NoAction is a FileAction indicates no action should/could be taken.
A NullFileWrapper is an AbstractFileWrapper not used by the FileManager to hold an AvailFile that is on the file system of the machine Avail is running. The purpose of this is to enable access outside of the FileManager.
RedoAction is a FileAction that re-executes a recently undonetracedFileAction.
ReplaceContents is a FileAction that replaces the entire contents of a file.
SaveAction is a FileAction that forces a save of an AvailFile to disk outside of the normal save mechanism.
A TracedAction records a FileAction that was performed on a file and the FileActions required to undo the initial FileAction.
UndoAction is a FileAction that executes the inverse for a FileAction that is traced as a TracedAction.