public interface PathAwareAssetProvider
Modifier and Type | Interface and Description |
---|---|
static class |
PathAwareAssetProvider.PathNotFoundException
Thrown when no Item can be found at the given path.
|
Item getItem(String path) throws PathAwareAssetProvider.PathNotFoundException
IllegalArgumentException
- if the path does not correspond to an Item of the Folder or Asset type.PathAwareAssetProvider.PathNotFoundException
Asset getAsset(String assetPath) throws PathAwareAssetProvider.PathNotFoundException
IllegalArgumentException
- if the path does not correspond to an Item of the Asset type.PathAwareAssetProvider.PathNotFoundException
Folder getFolder(String folderPath) throws PathAwareAssetProvider.PathNotFoundException
IllegalArgumentException
- if the path does not correspond to an Item of the Folder type.PathAwareAssetProvider.PathNotFoundException
Copyright © 2014 Magnolia International Ltd.. All rights reserved.