public class DefaultResourceID extends java.lang.Object implements ResourceID
ResourceID
.Constructor and Description |
---|
DefaultResourceID(Resource resource)
The resource path is used as the unique ID.
|
DefaultResourceID(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceIdentifier()
Get the id as string.
|
java.lang.String |
toString() |
public DefaultResourceID(java.lang.String id)
id
- the unique id to the resourcepublic DefaultResourceID(Resource resource)
resource
- the resource which is identified by this ResourceID.public java.lang.String getResourceIdentifier()
ResourceID
getResourceIdentifier
in interface ResourceID
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved