create a new archive abstraction with the given path and return an implementation responsible for storing elements to this archive abstractionparampath for the new archivereturnthe abstraction to manipulate the archive FileArchive output = new FileArchive(); output.create(path); return output;
FileArchive output = new FileArchive(); output.create(path); return output;
open an existing archive described by the path and return an implementation responsible for retrieving eleemnts from this archive abstractionparampath for the existing archivereturnthe abstraction to get entries from FileArchive input = new FileArchive(); input.open(path); return input;
FileArchive input = new FileArchive(); input.open(path); return input;