@ProviderType
public interface RegisteredResource
ResourceTransformer
.Modifier and Type | Method and Description |
---|---|
Dictionary<String,Object> |
getDictionary()
Return this resource's dictionary.
|
String |
getDigest()
Return this resource's digest.
|
String |
getEntityId()
Return the identifier of the OSGi "entity" that this resource
represents, for example "bundle:SID" where SID is the bundle's
symbolic ID, or "config:PID" where PID is config's PID.
|
InputStream |
getInputStream()
Return an input stream with the data of this resource.
|
int |
getPriority()
Return the priority of this resource.
|
String |
getScheme()
Return the scheme from where the artifact is originated.
|
String |
getType()
Return the type of this resource.
|
String |
getURL()
Return this data's URL.
|
String getScheme()
String getURL()
getScheme()
followed by a colon, followed by a unique identifier of
the resource within the providers space.String getType()
InputStream getInputStream() throws IOException
null
.IOException
- If an error occurs.Dictionary<String,Object> getDictionary()
null
.String getDigest()
int getPriority()
String getEntityId()
Copyright © 2017 The Apache Software Foundation. All rights reserved.