Set file input stream.
Set file input stream. First, use key to generate proper file name. Second, use file name and rootDirectory to set the stream.
generate proper file name.
Set file output stream.
Set file output stream. First, use key to generate proper file name. Second, use file name and rootDirectory to set the stream.
generate proper file name.
Set the root directory of the factory.
Set the root directory of the factory.
root directory of the factory.
Define the file-based case factory. Supply method to set file directory, and handle write and load action for CacheProvider.