Package org.cy3sbml.archive
Class ArchiveDirectories
java.lang.Object
org.cy3sbml.archive.ArchiveDirectories
The directories COMBINE archives are unpacked into: one new directory per import below
a root, so that the SBML files of an archive can reference each other by their relative
paths. The directory of an import is deleted when the import is done, the root when the
app stops.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes the directory of an archive with its files.voidDeletes the root with all unpacked archives.newDirectory(String archiveName) A new, empty directory for the archive with the given file name.static ArchiveDirectoriesThe directories below a root in the temporary directory of the system, one per process.
-
Constructor Details
-
ArchiveDirectories
- Parameters:
root- the directory below which the archives are unpacked; created when the first archive is unpacked
-
-
Method Details
-
temporary
The directories below a root in the temporary directory of the system, one per process. -
newDirectory
A new, empty directory for the archive with the given file name.- Throws:
IOException
-
delete
Deletes the directory of an archive with its files. -
deleteAll
public void deleteAll()Deletes the root with all unpacked archives.
-