|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.installer.api.InstallableResource
org.apache.sling.installer.core.impl.InternalResource
public class InternalResource
Internal resource is a private data object which wraps an installable resource and is used to create a registered resource. An internal resource has always: - a resource type - a digest
Field Summary |
---|
Fields inherited from class org.apache.sling.installer.api.InstallableResource |
---|
BUNDLE_START_LEVEL, DEFAULT_PRIORITY, TYPE_BUNDLE, TYPE_CONFIG, TYPE_FILE, TYPE_PROPERTIES |
Method Summary | |
---|---|
static InternalResource |
create(String scheme,
InstallableResource resource)
Create an internal resource. |
Dictionary<String,Object> |
getPrivateCopyOfDictionary()
Copy given Dictionary |
File |
getPrivateCopyOfFile()
Copy the given file and return it. |
String |
getURL()
The unique url of the resource. |
Methods inherited from class org.apache.sling.installer.api.InstallableResource |
---|
getDictionary, getDigest, getId, getInputStream, getPriority, getType, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static InternalResource create(String scheme, InstallableResource resource) throws IOException
IOException
- if something is wrongpublic String getURL()
public Dictionary<String,Object> getPrivateCopyOfDictionary()
public File getPrivateCopyOfFile() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |