com.adobe.flashaccess.sdk.rights
Class SWFApplicationIdentifier

java.lang.Object
  extended by com.adobe.flashaccess.sdk.rights.ApplicationIdentifier
      extended by com.adobe.flashaccess.sdk.rights.SWFApplicationIdentifier
All Implemented Interfaces:
java.lang.Cloneable

public class SWFApplicationIdentifier
extends ApplicationIdentifier

This class is used to restrict SWF applications that can consume content. SWF applications are identified by a URL or by a hash value.


Constructor Summary
SWFApplicationIdentifier(java.lang.String url)
          Limits access to SWF applications with the specified URL.
SWFApplicationIdentifier(SWFHash digestValue)
          Limits access to SWF applications with the specified hash value.
 
Method Summary
 SWFHash getSWFHash()
          Retrieves the hash of the SWF application.
 java.lang.String getURL()
          Retrieves the SWF application URL.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWFApplicationIdentifier

public SWFApplicationIdentifier(java.lang.String url)
Limits access to SWF applications with the specified URL.

Parameters:
url - The URL of the SWF application.

SWFApplicationIdentifier

public SWFApplicationIdentifier(SWFHash digestValue)
Limits access to SWF applications with the specified hash value.

Parameters:
digestValue - The SWF hash.
Method Detail

getURL

public java.lang.String getURL()
Retrieves the SWF application URL.

Returns:
The SWF application URL.

getSWFHash

public SWFHash getSWFHash()
Retrieves the hash of the SWF application.

Returns:
The SWF application hash.


[an error occurred while processing this directive] [an error occurred while processing this directive]