public class AssetsMap extends Object implements IAssetProvider, IRecentVersionProvider
| Constructor and Description |
|---|
AssetsMap(IWebjarsSettings settings)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
String |
findRecentVersionFor(String path) |
SortedMap<String,String> |
getFullPathIndex() |
Set<String> |
listAssets(String folderPath)
List assets within a folder.
|
public AssetsMap(IWebjarsSettings settings)
settings - the settings to use.public String findRecentVersionFor(String path)
findRecentVersionFor in interface IRecentVersionProviderpath - the path to detect version forpublic SortedMap<String,String> getFullPathIndex()
getFullPathIndex in interface IAssetProviderpublic Set<String> listAssets(String folderPath)
IAssetProviderlistAssets in interface IAssetProviderfolderPath - the root path to the folder. Must begin with '/'.Copyright © 2015 agilecoders.de. All Rights Reserved.