Class ExternalAsset

  • All Implemented Interfaces:
    Asset

    public class ExternalAsset
    extends Object
    implements Asset
    This class represents an asset stored in an external storage.
    • Constructor Detail

      • ExternalAsset

        public ExternalAsset​(String uri)
        Constructs an instance of ExternalAsset.
        Parameters:
        uri - URI of the external asset.
      • ExternalAsset

        public ExternalAsset​(String uri,
                             ExternalStorageType externalStorageType)
        Constructs an instance of ExternalAsset.
        Parameters:
        uri - URI of the external asset.
        externalStorageType - external storage type.
    • Method Detail

      • getUri

        public String getUri()
        Returns the URI of the external asset.
        Returns:
        URI of the external asset.
      • getExternalStorageType

        public ExternalStorageType getExternalStorageType()
        Returns the externalStorageType of the external asset.
        Returns:
        external storage type of the external asset.