maltcms.datastructures.caches
Class ScanLineCacheFactory
java.lang.Object
maltcms.datastructures.caches.ScanLineCacheFactory
public class ScanLineCacheFactory
- extends Object
This Factory creates all IScanLine
caches and hold an reference to
support multiple usage.
- Author:
- Mathias Wilhelm(mwilhelm A T TechFak.Uni-Bielefeld.DE)
ScanLineCacheFactory
public ScanLineCacheFactory()
getScanLineCache
public static IScanLine getScanLineCache(cross.datastructures.fragments.IFileFragment ff)
- This method will automatically create a new
IScanLine
for the
given IFileFragment
if no one is cached. Otherwise it will return
the known IScanLine
.
- Parameters:
ff
- file fragment
- Returns:
- scanline cache for this file fragment
getSparseScanLineCache
public static IScanLine getSparseScanLineCache(cross.datastructures.fragments.IFileFragment ff)
getDefaultScanLineCache
public static IScanLine getDefaultScanLineCache(cross.datastructures.fragments.IFileFragment ff)
getOldScanLineCache
public static IScanLine getOldScanLineCache(cross.datastructures.fragments.IFileFragment ff)
getCachedListScanLineCache
public static IScanLine getCachedListScanLineCache(cross.datastructures.fragments.IFileFragment ff)
Copyright © 2007-2012. All Rights Reserved.