blob: 40746203e35e3a31248fd423f4b39f84e668a8f6 [file] [log] [blame]
package org.eclipse.dltk.core.caching;
import java.io.InputStream;
import org.eclipse.dltk.core.environment.IFileHandle;
/**
* Interface used to fill cache with some additional values.
*/
public interface IContentCacheProvider {
/**
* Called then cache entry are not found in one cache. Implementation need
* to fill cache with attributes store in this cache.
*
* @param handle
* @return true if cache entry are filled into cache.
*/
InputStream getAttributeAndUpdateCache(IFileHandle handle, String attribute);
void setCache(IContentCache cache);
}