Class GetObjectStream

java.lang.Object
org.cdlib.mrt.s3v2.action.GetObjectStream

public class GetObjectStream extends Object
Before running this Java V2 code example, set up your development environment, including your credentials.

For more information, see the following documentation topic:

https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/get-started.html

  • Field Details

    • logger

      protected static final org.apache.logging.log4j.Logger logger
  • Constructor Details

    • GetObjectStream

      public GetObjectStream()
  • Method Details

    • getObjectStream

      public static InputStream getObjectStream(software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, String keyName) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException