textbender.a.u.transfer.clipboard
Class IndexBlockMapW
java.lang.Object
IndexBlockMap
IndexBlockMapW
- All Implemented Interfaces:
- Serializable
@ThreadRestricted
final class IndexBlockMapW
- extends IndexBlockMap
Writeable map of index blocks.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
static IndexBlockMapW i()
- The single instance of IndexBlockMapW.
create
static IndexBlockMapW create()
throws IOException
- Creates the single instance of IndexBlockMapW,
and makes it available via i().
- Throws:
IOException
_createUnchecked
static IndexBlockMapW _createUnchecked()
throws IOException
- Throws:
IOException
getOrCreateIndexBlock
IndexBlock getOrCreateIndexBlock(File transferandDocumentFile,
int geneCount,
IndexBlockMapW.KeySD keySD,
ClipIndexEncoder clipIndexEncoder)
throws IOException
- Returns the index block for a particular sourceDocumentFile,
creating a new one if necessary.
To save file storage space (in the document cache, used by the blocks)
and to keep in-text clip indeces short,
blocks are reused across multiple versions of a document.
- Parameters:
transferandDocumentFile
- designating a copy
of the transferand source documentgeneCount
- of the documentkeySD
- specifying other key particulars of the document
- Throws:
IOException