public class ResourceVariantStorageProvider extends Object implements IStorageProvider
Constructor and Description |
---|
ResourceVariantStorageProvider(String path,
IResourceVariant variant)
Wraps a resource variant as a storage provider.
|
public ResourceVariantStorageProvider(String path, IResourceVariant variant)
path
- Path to the wrapped variant.variant
- The wrapped resource variant.public IStorage getStorage(IProgressMonitor monitor) throws CoreException
getStorage
in interface IStorageProvider
monitor
- Monitor on which to report progress information.CoreException
- Thrown if the underlying storage cannot be retrieved.IStorageProvider.getStorage(org.eclipse.core.runtime.IProgressMonitor)
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.