Class RemoteBlob

java.lang.Object
com.adaptris.interlok.cloud.RemoteBlob

public class RemoteBlob extends Object
Abstraction of a blob that is stored in the cloud (e.g. an Azure blob object, AWS S3 blob etc).
  • Method Details

    • getName

      public String getName()
      The name of the remote blob.
      Returns:
      the name
    • getLastModified

      public long getLastModified()
      Get the last modified time of the blob.
      Returns:
      the last modified time, or -1 if not known/unavailable
    • toFile

      public RemoteFile toFile()
      Wrap it as a RemoteFile for standard FileFilter operations.
    • getSize

      public long getSize()
      Get the size of the blob if available.
      Returns:
      the size of the blob, or -1 if not available / unknown.
    • getBucket

      public String getBucket()
      Get the bucket that this blob resides in.
      Returns:
      the bucket name, might be null.