Class GetObjectRange

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

public class GetObjectRange 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

    • GetObjectRange

      public GetObjectRange()
  • Method Details

    • getObjectRange

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