public class ResourcePackageCacheProvider extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | CACHE_KEY_SEPARATOR | 
| static String | CACHE_PROPERTY_SEPARATOR | 
| Modifier and Type | Method and Description | 
|---|---|
| void | cachePackage(org.springframework.core.io.Resource resource,
            PackageDefinition packageDefinition) | 
| void | cachePackages(org.springframework.core.io.Resource resource,
             Collection<PackageDefinition> packages) | 
| Set<PackageDefinition> | getPackages(org.springframework.core.io.Resource resource) | 
| static ResourcePackageCacheProvider | readCache(URI cache) | 
| void | saveCache() | 
| void | saveCacheQuitly() | 
public static final String CACHE_KEY_SEPARATOR
public static final String CACHE_PROPERTY_SEPARATOR
public static ResourcePackageCacheProvider readCache(URI cache)
public void saveCacheQuitly()
public void saveCache()
               throws IOException
IOExceptionpublic Set<PackageDefinition> getPackages(org.springframework.core.io.Resource resource)
public void cachePackage(org.springframework.core.io.Resource resource,
                PackageDefinition packageDefinition)
                  throws IOException
IOExceptionpublic void cachePackages(org.springframework.core.io.Resource resource,
                 Collection<PackageDefinition> packages)
                   throws IOException
IOExceptionCopyright © 2014 Suncode. All rights reserved.