Class ResourceBundleData


  • public class ResourceBundleData
    extends Object
    A record from RESOURCE_BUNDLES
    • Constructor Detail

      • ResourceBundleData

        public ResourceBundleData​(long resourceBundleId,
                                  long objectSize,
                                  FileType ft,
                                  String eTag,
                                  Date lastModified,
                                  Date scanTstamp,
                                  int version)
        Parameters:
        resourceBundleId -
        bucketName -
        bucketPath -
        objectName -
        objectSize -
    • Method Detail

      • getObjectSize

        public long getObjectSize()
        Returns:
        the objectSize in bytes
      • getFileType

        public FileType getFileType()
        Get the type of file this object represents
        Returns:
      • getResourceBundleId

        public long getResourceBundleId()
        Returns:
        the resourceBundleId
      • geteTag

        public String geteTag()
        Returns:
        the eTag
      • getLastModified

        public Date getLastModified()
        Returns:
        the lastModified
      • matches

        public boolean matches​(long objectSize,
                               String eTag,
                               Date lastModified)
        Does this record match exactly the 3 given values
        Parameters:
        objectSize -
        eTag -
        lastModified -
        Returns:
      • getScanTstamp

        public Date getScanTstamp()
        Returns:
        the scanTstamp
      • getVersion

        public int getVersion()
        Returns:
        the version