Class COSObject


  • public class COSObject
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      COSObject()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.InputStreamReader getItem​(java.lang.String bucketName, java.lang.String itemName)
      Retrieve a COS object as InputStreamReader.
      • Methods inherited from class java.lang.Object

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

      • COSObject

        public COSObject()
    • Method Detail

      • getItem

        public static java.io.InputStreamReader getItem​(java.lang.String bucketName,
                                                        java.lang.String itemName)
        Retrieve a COS object as InputStreamReader. NOTE: Caller is responsible for closing reader to avoid connection leak