Class StorageMetadataFile


  • public class StorageMetadataFile
    extends Object
    The Class StorageMetadataFile. Small java wrapper to MyFile} and its size
    Author:
    Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Oct 1, 2019
    • Constructor Detail

      • StorageMetadataFile

        public StorageMetadataFile​(org.gcube.contentmanagement.blobstorage.resource.MyFile myFile,
                                   long size)
        Instantiates a new storage metadata file.
        Parameters:
        myFile - the my file
        size - the size
    • Method Detail

      • getMyFile

        public org.gcube.contentmanagement.blobstorage.resource.MyFile getMyFile()
        Gets the my file.
        Returns:
        the my file
      • getSize

        public long getSize()
        Gets the size.
        Returns:
        the size
      • getName

        public String getName()
        Gets the name.
        Returns:
        the name
      • getMimeType

        public String getMimeType()
        Gets the mime type.
        Returns:
        the mime type