Class TestGetObjectRange

java.lang.Object
org.cdlib.mrt.s3v2.test.TestGetObjectRange

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

  • Constructor Details

    • TestGetObjectRange

      public TestGetObjectRange()
  • Method Details

    • main

      public static void main(String[] args) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_sdsc_download

      public static void test_sdsc_download(String key, Long startByte, Long endByte) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_aws_download

      public static void test_aws_download(String key, Long startByte, Long endByte) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_wasabi_download

      public static void test_wasabi_download(String key, Long startByte, Long endByte) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • test_minio_download

      public static void test_minio_download(String key, Long startByte, Long endByte) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getMeta

      public static Properties getMeta(String header, software.amazon.awssdk.services.s3.S3Client s3Client, String bucketName, String key)
    • getClientWasabi

      public static V2Client getClientWasabi() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getClientMinio

      public static V2Client getClientMinio() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getClientSDSC

      public static V2Client getClientSDSC() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getClientAWS

      public static V2Client getClientAWS() throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • doGetObjectRange

      protected static Properties doGetObjectRange(V2Client v2client, String bucketName, String key, String downFilePrefix, Long startByte, Long endByte) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException