| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final File | |
| pack-priv final List | |
| pack-priv static final MLogger | |
| pack-priv static final FileFilter | |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public void | |
| public InputStream | |
| private InputStream | |
| private File | |
| public File | |
| public boolean | |
| private void |
| buffer_size | back to summary |
|---|---|
| pack-priv final int buffer_size | |
| cacheDir | back to summary |
|---|---|
| pack-priv final File cacheDir | |
| fetchers | back to summary |
|---|---|
| pack-priv final List<URLFetcher> fetchers | |
| logger | back to summary |
|---|---|
| pack-priv static final MLogger logger | |
| NOT_DIR_FF | back to summary |
|---|---|
| pack-priv static final FileFilter NOT_DIR_FF | |
| read_only | back to summary |
|---|---|
| pack-priv final boolean read_only | |
| FileCache | back to summary |
|---|---|
| public FileCache(File cacheDir, int buffer_size, boolean read_only) throws IOException | |
| FileCache | back to summary |
|---|---|
| public FileCache(File cacheDir, int buffer_size, boolean read_only, URLFetcher... fetchers) throws IOException | |
| FileCache | back to summary |
|---|---|
| public FileCache(File cacheDir, int buffer_size, boolean read_only, List<URLFetcher> fetchers) throws IOException | |
| countCached | back to summary |
|---|---|
| public int countCached() throws IOException | |
| countCached | back to summary |
|---|---|
| public int countCached(FileFilter filter) throws IOException | |
| ensureCached | back to summary |
|---|---|
| public void ensureCached(FileCacheKey key, boolean force_reacquire) throws IOException | |
| fetch | back to summary |
|---|---|
| public InputStream fetch(FileCacheKey key, boolean force_reacquire) throws IOException | |
| fetchURL | back to summary |
|---|---|
| private InputStream fetchURL(URL u) throws IOException | |
| file | back to summary |
|---|---|
| private File file(FileCacheKey key) | |
| fileForKey | back to summary |
|---|---|
| public File fileForKey(FileCacheKey key) | |
| isCached | back to summary |
|---|---|
| public boolean isCached(FileCacheKey key) throws IOException | |
| loggedIOException | back to summary |
|---|---|
| private void loggedIOException(MLevel lvl, String msg) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv FileFilter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(File
The abstract pathname to be tested f)Implements java. Tests whether or not the specified abstract pathname should be included in a pathname list. |
| ff | back to summary |
|---|---|
| pack-priv FileFilter ff | |
| NotDirAndFileFilter | back to summary |
|---|---|
| pack-priv NotDirAndFileFilter(FileFilter ff) | |
| accept | back to summary |
|---|---|
| public boolean accept(File f) Implements java. Doc from java. Tests whether or not the specified abstract pathname should be included in a pathname list.
| |