Class PackagedBitstream


  • public class PackagedBitstream
    extends Object
    Information about a Bitstream packaged in an aip
    Since:
    2020-03-19
    Author:
    mikejritter
    • Constructor Detail

      • PackagedBitstream

        public PackagedBitstream​(String bundle,
                                 Path bitstream,
                                 Metadata metadata,
                                 Policies policies)
        Constructor for bitstreams packaged in a BagIt AIP
        Parameters:
        bundle - the name of the bundle for the bitstream
        bitstream - the path to the bitstream data
        metadata - the metadata for the bitstream, as a Metadata pojo
        policies - the policy for the bitstream
    • Method Detail

      • getBundle

        public String getBundle()
        Returns:
        the bundle name
      • getBitstream

        public Path getBitstream()
        Returns:
        the Path to the bitstream
      • getMetadata

        public Metadata getMetadata()
        Returns:
        the metadata for the bitstream
      • getPolicies

        public Policies getPolicies()
        Returns:
        the ResourcePolicies for the bitstream