@ProviderType
public interface RegisteredResource
ResourceTransformer
.Modifier and Type | Method and Description |
---|---|
java.util.Dictionary<java.lang.String,java.lang.Object> |
getDictionary()
Return this resource's dictionary.
|
java.lang.String |
getDigest()
Return this resource's digest.
|
java.lang.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.
|
java.io.InputStream |
getInputStream()
Return an input stream with the data of this resource.
|
int |
getPriority()
Return the priority of this resource.
|
java.lang.String |
getScheme()
Return the scheme from where the artifact is originated.
|
java.lang.String |
getType()
Return the type of this resource.
|
java.lang.String |
getURL()
Return this data's URL.
|
java.lang.String getScheme()
java.lang.String getURL()
getScheme()
followed by a colon, followed by a unique identifier of
the resource within the providers space.java.lang.String getType()
java.io.InputStream getInputStream() throws java.io.IOException
null
.java.io.IOException
- If an error occurs.java.util.Dictionary<java.lang.String,java.lang.Object> getDictionary()
null
.java.lang.String getDigest()
int getPriority()
java.lang.String getEntityId()
Copyright © 2018 The Apache Software Foundation. All rights reserved.