Interface NamedAsset

  • All Superinterfaces:
    Asset
    All Known Implementing Classes:
    MemoryNamedAsset

    public interface NamedAsset
    extends Asset
    Pluggable separation between an Asset and a default name used to add Assets into an archive without having to explicitly supply the name (ArchivePath) each time. This interface is intended to be a pluggable way to specify and create many instances of Assets that use the same name in a programmatic manner, mainly to remove duplication of having to specify the same resource name repeatedly.
    Author:
    Chris Wash
    • Method Detail

      • getName

        String getName()
        Specifies the name (ArchivePath) for the archive
        Returns:
        String representation of the ArchivePath