Class AwsManifestFile

  • All Implemented Interfaces:
    ManifestFile

    public class AwsManifestFile
    extends java.lang.Object
    implements ManifestFile
    • Constructor Summary

      Constructors 
      Constructor Description
      AwsManifestFile​(S3Directory directory, java.lang.String manifestFile)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean exists()
      Check if the manifest already exists.
      java.util.Properties load()
      Load the properties from the manifest file.
      void save​(java.util.Properties properties)
      Store the properties to the manifest file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AwsManifestFile

        public AwsManifestFile​(S3Directory directory,
                               java.lang.String manifestFile)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • exists

        public boolean exists()
        Description copied from interface: ManifestFile
        Check if the manifest already exists.
        Specified by:
        exists in interface ManifestFile
        Returns:
        true if the manifest exists
      • load

        public java.util.Properties load()
                                  throws java.io.IOException
        Description copied from interface: ManifestFile
        Load the properties from the manifest file.
        Specified by:
        load in interface ManifestFile
        Returns:
        properties describing the segmentstore
        Throws:
        java.io.IOException
      • save

        public void save​(java.util.Properties properties)
                  throws java.io.IOException
        Description copied from interface: ManifestFile
        Store the properties to the manifest file.
        Specified by:
        save in interface ManifestFile
        Parameters:
        properties - describing the segmentstore
        Throws:
        java.io.IOException