Home
last modified time | relevance | path

Searched refs:loadPathCache (Results 1 – 4 of 4) sorted by relevance

/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DJHdf.java44 private final LoadPathToFileCache loadPathCache; field in JHdf
48 …JHdf(Data data, DataFactory dataFactory, LoadPathToFileCache loadPathCache, JSilverOptions options… in JHdf() argument
50 this.loadPathCache = loadPathCache; in JHdf()
53 this.resourceLoader = new ResourceLoaderAdaptor(this, loadPathCache, null); in JHdf()
94 this.resourceLoader = new ResourceLoaderAdaptor(this, loadPathCache, fileLoader); in setFileLoader()
162 return d == null ? null : new JHdf(d, dataFactory, loadPathCache, options); in getObj()
173 return new JHdf(child, dataFactory, loadPathCache, options); in getChild()
189 return new JHdf(root, dataFactory, loadPathCache, options); in getRootObj()
201 return new JHdf(data.createChild(hdfpath), dataFactory, loadPathCache, options); in getOrCreateObj()
218 return new JHdf(child, dataFactory, loadPathCache, options); in objChild()
[all …]
DJSilverFactory.java41 private final LoadPathToFileCache loadPathCache; field in JSilverFactory
71 this.loadPathCache = null; in JSilverFactory()
73 this.loadPathCache = new LoadPathToFileCache(this.options.getLoadPathCacheSize()); in JSilverFactory()
84 return new JCs(JHdf.cast(hdf), jSilver, loadPathCache); in newCs()
93 JCs cs = new JCs(JHdf.cast(hdf), jSilver, loadPathCache); in newCs()
100 return new JHdf(new DefaultData(), dataFactory, loadPathCache, options); in newHdf()
DResourceLoaderAdaptor.java40 private final LoadPathToFileCache loadPathCache; field in ResourceLoaderAdaptor
44 ResourceLoaderAdaptor(JHdf hdf, LoadPathToFileCache loadPathCache, CSFileLoader csFileLoader) { in ResourceLoaderAdaptor() argument
46 this.loadPathCache = loadPathCache; in ResourceLoaderAdaptor()
110 if (loadPathCache != null) { in locateFile()
111 String filePath = loadPathCache.lookup(getLoadPaths(), name); in locateFile()
119 if (file != null && loadPathCache != null) { in locateFile()
120 loadPathCache.add(getLoadPaths(), name, file.getAbsolutePath()); in locateFile()
DJCs.java41 private final LoadPathToFileCache loadPathCache; field in JCs
46 JCs(JHdf hdf, JSilver jSilver, LoadPathToFileCache loadPathCache) { in JCs() argument
49 this.loadPathCache = loadPathCache; in JCs()
168 resourceLoaderAdaptor = new ResourceLoaderAdaptor(localHdf, loadPathCache, csFileLoader); in setFileLoader()