TrueZIP Kernel 7.0-rc2

de.schlichtherle.truezip.fs.archive
Class FsArchiveFileSystem.MasterEntryTable<E extends FsArchiveEntry>

java.lang.Object
  extended by de.schlichtherle.truezip.fs.archive.FsArchiveFileSystem.MasterEntryTable<E>
Direct Known Subclasses:
FsArchiveFileSystem.DefaultEntryTable, FsArchiveFileSystem.ZipOrTarEntryTable
Enclosing class:
FsArchiveFileSystem<E extends FsArchiveEntry>

private abstract static class FsArchiveFileSystem.MasterEntryTable<E extends FsArchiveEntry>
extends Object

Splits a given path name into its parent path name and base name.


Field Summary
(package private)  Map<String,FsArchiveFileSystemEntry<E>> table
          The map of archive file system entries.
 
Constructor Summary
FsArchiveFileSystem.MasterEntryTable(int initialCapacity)
           
 
Method Summary
(package private) abstract  void add(FsArchiveFileSystemEntry<E> entry)
           
(package private) abstract  FsArchiveFileSystemEntry<E> get(FsEntryName name, Entry.Type type)
           
(package private)  int getSize()
           
(package private)  Iterator<FsArchiveFileSystemEntry<E>> iterator()
           
(package private) abstract  void remove(FsEntryName name, Entry.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

final Map<String,FsArchiveFileSystemEntry<E extends FsArchiveEntry>> table
The map of archive file system entries.

Note that the archive entries in this map are shared with the EntryContainer object provided to the constructor of this class.

Constructor Detail

FsArchiveFileSystem.MasterEntryTable

FsArchiveFileSystem.MasterEntryTable(int initialCapacity)
Method Detail

getSize

final int getSize()

iterator

final Iterator<FsArchiveFileSystemEntry<E>> iterator()

add

abstract void add(FsArchiveFileSystemEntry<E> entry)

get

@CheckForNull
abstract FsArchiveFileSystemEntry<E> get(FsEntryName name,
                                                      @CheckForNull
                                                      Entry.Type type)

remove

abstract void remove(FsEntryName name,
                     @CheckForNull
                     Entry.Type type)

TrueZIP Kernel 7.0-rc2

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.