Top Description Fields Constructors Methods
org.aspectj.weaver.tools.cache

public abstract Class AbstractFileCacheBacking

extends AbstractCacheBacking
Class Inheritance
Known Direct Subclasses
org.aspectj.weaver.tools.cache.AbstractIndexedFileCacheBacking
Imports
java.io.File, .FileOutputStream, .IOException, .InputStream, .OutputStream

Useful "common" functionality for caching to files

Field Summary

Modifier and TypeField and Description
private final File
public static final String
WEAVED_CLASS_CACHE_DIR

Default property used to specify a default weaving cache dir location

Inherited from org.aspectj.weaver.tools.cache.AbstractCacheBacking:
logger

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected void
close(OutputStream out, File file)

protected void
protected void
delete(File file)

public File
protected void
writeClassBytes(String key, byte[] bytes)

Inherited from org.aspectj.weaver.tools.cache.AbstractCacheBacking:
crc

Field Detail

cacheDirectoryback to summary
private final File cacheDirectory
WEAVED_CLASS_CACHE_DIRback to summary
public static final String WEAVED_CLASS_CACHE_DIR

Default property used to specify a default weaving cache dir location

Constructor Detail

AbstractFileCacheBackingback to summary
protected AbstractFileCacheBacking(File cacheDirectory)

Method Detail

closeback to summary
protected void close(OutputStream out, File file)
closeback to summary
protected void close(InputStream in, File file)
deleteback to summary
protected void delete(File file)
getCacheDirectoryback to summary
public File getCacheDirectory()
writeClassBytesback to summary
protected void writeClassBytes(String key, byte[] bytes) throws Exception