Package org.apache.pdfbox.pdmodel
Class DefaultResourceCacheCreateImpl
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.DefaultResourceCacheCreateImpl
-
- All Implemented Interfaces:
ResourceCacheCreateFunction
public class DefaultResourceCacheCreateImpl extends java.lang.Object implements ResourceCacheCreateFunction
Implementation of the functional interface ResourceCacheCreateFunction to create an instance of a DefaultResourceCache.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanstableCacheEnabled
-
Constructor Summary
Constructors Constructor Description DefaultResourceCacheCreateImpl()Default constructor.DefaultResourceCacheCreateImpl(boolean enableStableCache)Constructor providing a parameter to enable/disable the stable object cache.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceCachecreate()Creates an instance of a ResourceCache.
-
-
-
Constructor Detail
-
DefaultResourceCacheCreateImpl
public DefaultResourceCacheCreateImpl()
Default constructor.
-
DefaultResourceCacheCreateImpl
public DefaultResourceCacheCreateImpl(boolean enableStableCache)
Constructor providing a parameter to enable/disable the stable object cache.- Parameters:
enableStableCache- enables/disables the stable object cache
-
-
Method Detail
-
create
public ResourceCache create()
Description copied from interface:ResourceCacheCreateFunctionCreates an instance of a ResourceCache.- Specified by:
createin interfaceResourceCacheCreateFunction- Returns:
- the resource cache.
-
-