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