content
Storage for the
Nodes.T - Archive<T>, Assignable, ArchiveFormatAssociable, Configurable, IdentifiableMemoryMapArchiveImplprivate final Map<ArchivePath, NodeImpl> Nodes.private final List<ArchiveEventHandler> private final Map<ArchivePath, ArchiveAsset> ArchiveAssets.MemoryMapArchiveBase(String archiveName,
Configuration configuration) Archive with the provided name.MemoryMapArchiveBase(Configuration configuration) Archive.getName() per instance.add(Archive<?> archive,
String path,
Class<? extends StreamExporter> exporter) add(Archive<?> archive,
ArchivePath path,
Class<? extends StreamExporter> exporter) add(Asset asset,
ArchivePath path) addAsDirectory(ArchivePath path) private TaddAsset(ArchivePath path,
Asset asset) addHandlers(ArchiveEventHandler... handlers) private voidaddNewNode(ArchivePath path,
Asset handledAsset) booleanbooleancontains(ArchivePath path) delete(ArchivePath path) get(ArchivePath path) Node located at the specified pathgetContent(Filter<ArchivePath> filter) private NodegetNestedNode(ArchivePath path) private ArchivePathgetNestedPath(ArchivePath fullPath,
ArchivePath basePath) private AssetinvokeHandlers(ArchivePath path,
Asset asset) private booleannestedContains(ArchivePath path) private NodeImplobtainParent(ArchivePath path) private NoderemoveNodeRecursively(NodeImpl node,
ArchivePath path) private booleanstartsWith(ArchivePath fullPath,
ArchivePath startingPath) add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, as, covariantReturn, equals, filter, get, getActualClass, getArchiveFormat, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getConfiguration, getId, getName, hashCode, merge, merge, merge, merge, merge, merge, move, move, setId, shallowCopy, shallowCopy, toString, toString, toString, writeToadd, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, filter, get, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getId, getName, merge, merge, merge, merge, merge, merge, move, move, shallowCopy, shallowCopy, toString, toString, toString, writeToasNodes.ArchiveAssets. Used to help get access to nested archive content.Archive.getName() per instance.configuration - The configuration for this archiveIllegalArgumentException - If the configuration is not specifiedArchive with the provided name.archiveName - configuration - The configuration for this archiveIllegalArgumentException - If the name or configuration is not specifiedaddAsDirectory in interface Archive<T extends Archive<T>>path - The path to addIllegalArgumentException - If no path was specifiedaddHandlers in interface Archive<T extends Archive<T>>Node in the Archive at the specified ArchivePath. If the path is a directory,
recursively removes all contents. If the path does not exist, return null.node - the node to remove recursivelypath - the path denoting the specified nodeNode in the Archive at the ArchivePath indicated by the specified String
archivePath. If the path is a directory, recursively removes all contents. If the path does not exist, return
null.getContent in interface Archive<T extends Archive<T>>getContent in interface Archive<T extends Archive<T>>path - fullPath - startingPath - fullPath - basePath - Node from the content of the Archive. If the Node doesn�t exists in
the specified location, it is created and added to the Archive. The same happens to all its non-existing
parents. However, if the Node is an asset, an IllegalArchivePathException is thrown.path - The ArchivePath from which we are obtaining the NodeNode in the specified pathIllegalArchivePathException - if the node is an Asset