Discuss this help topic in SecureBlackbox Forum

TElAWSS3DataStorage.ReadObject

TElAWSS3DataStorage     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Reads data object from the storage.

Declaration

[C#]
    void ReadObject(string BucketName, string Key, System.IO.Stream Strm);
    void ReadObject(string BucketName, string Key, System.IO.Stream Strm, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag);
    void ReadObject(TElAWSS3DataStorageObject Obj, System.IO.Stream Strm, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag);
    void ReadObject(string BucketName, string Key, System.IO.Stream Strm, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag, TElStringList Metadata, TElStringList Headers, ref string ObjContentType, ref string ObjContentDisposition, ref string ObjETag);
    void ReadObject(string BucketName, string Key, System.IO.Stream Strm, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag, TElStringList Metadata, TElStringList Headers, ref string ObjContentType, ref string ObjContentDisposition, ref string ObjContentEncoding, ref string ObjETag);
    void ReadObject(TElAWSS3DataStorageObject Obj, System.IO.Stream Strm, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag, TElStringList Metadata, TElStringList Headers, ref string ObjContentType, ref string ObjContentDisposition, ref string ObjETag);
    void ReadObject(TElAWSS3DataStorageObject Obj, System.IO.Stream Strm, TSBAWSS3ReadObjectCondition Condition, DateTime DateTime, string ETag, TElStringList Metadata, TElStringList Headers, ref string ObjContentType, ref string ObjContentDisposition, ref string ObjContentEncoding, ref string ObjETag);
    void ReadObject(TElCustomDataStorageObject Obj, System.IO.Stream Strm);

[VB.NET]
    Sub ReadObject(ByVal BucketName As String, ByVal Key As String, ByVal Strm As System.IO.Stream)
    Sub ReadObject(ByVal BucketName As String, ByVal Key As String, ByVal Strm As System.IO.Stream, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String)
    Sub ReadObject(ByVal Obj As TElAWSS3DataStorageObject, ByVal Strm As System.IO.Stream, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String)
    Sub ReadObject(ByVal BucketName As String, ByVal Key As String, ByVal Strm As System.IO.Stream, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByRef ObjContentType As String, ByRef ObjContentDisposition As String, ByRef ObjETag As String)
    Sub ReadObject(ByVal BucketName As String, ByVal Key As String, ByVal Strm As System.IO.Stream, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByRef ObjContentType As String, ByRef ObjContentDisposition As String, ByRef ObjContentEncoding As String, ByRef ObjETag As String)
    Sub ReadObject(ByVal Obj As TElAWSS3DataStorageObject, ByVal Strm As System.IO.Stream, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByRef ObjContentType As String, ByRef ObjContentDisposition As String, ByRef ObjETag As String)
    Sub ReadObject(ByVal Obj As TElAWSS3DataStorageObject, ByVal Strm As System.IO.Stream, ByVal Condition As TSBAWSS3ReadObjectCondition, ByVal DateTime As DateTime, ByVal ETag As String, ByVal Metadata As TElStringList, ByVal Headers As TElStringList, ByRef ObjContentType As String, ByRef ObjContentDisposition As String, ByRef ObjContentEncoding As String, ByRef ObjETag As String)
    Sub ReadObject(ByVal Obj As TElCustomDataStorageObject, ByVal Strm As System.IO.Stream)

[Pascal]
    procedure ReadObject(const BucketName : string; const Key : string; Strm : TStream);
    procedure ReadObject(const BucketName : string; const Key : string; Strm : TStream; Condition : TSBAWSS3ReadObjectCondition; DateTime : TDateTime; const ETag : string);
    procedure ReadObject(Obj : TElAWSS3DataStorageObject; Strm : TStream; Condition : TSBAWSS3ReadObjectCondition; DateTime : TDateTime; const ETag : string);
    procedure ReadObject(const BucketName : string; const Key : string; Strm : TStream; Condition : TSBAWSS3ReadObjectCondition; DateTime : TDateTime; const ETag : string; Metadata : TStringList; Headers : TStringList; var ObjContentType : string; var ObjContentDisposition : string; var ObjETag : string);
    procedure ReadObject(Obj : TElAWSS3DataStorageObject; Strm : TStream; Condition : TSBAWSS3ReadObjectCondition; DateTime : TDateTime; const ETag : string; Metadata : TStringList; Headers : TStringList; var ObjContentType : string; var ObjContentDisposition : string; var ObjETag : string);

[C++]
    void ReadObject(const std::string &BucketName, const std::string &Key, TStream &Strm);
    void ReadObject(const std::string &BucketName, const std::string &Key, TStream *Strm);
    void ReadObject(const std::string &BucketName, const std::string &Key, TStream &Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag);
    void ReadObject(const std::string &BucketName, const std::string &Key, TStream *Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag);
    void ReadObject(TElAWSS3DataStorageObject &Obj, TStream &Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag);
    void ReadObject(TElAWSS3DataStorageObject *Obj, TStream *Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag);
    void ReadObject(const std::string &BucketName, const std::string &Key, TStream &Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList &Metadata, TElStringList &Headers, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjETag);
    void ReadObject(const std::string &BucketName, const std::string &Key, TStream *Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList *Metadata, TElStringList *Headers, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjETag);
    void ReadObject(const std::string &BucketName, const std::string &Key, TStream &Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList &Metadata, TElStringList &Headers, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjContentEncoding, std::string &ObjETag);
    void ReadObject(const std::string &BucketName, const std::string &Key, TStream *Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList *Metadata, TElStringList *Headers, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjContentEncoding, std::string &ObjETag);
    void ReadObject(TElAWSS3DataStorageObject &Obj, TStream &Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList &Metadata, TElStringList &Headers, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjETag);
    void ReadObject(TElAWSS3DataStorageObject *Obj, TStream *Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList *Metadata, TElStringList *Headers, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjETag);
    void ReadObject(TElAWSS3DataStorageObject &Obj, TStream &Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList &Metadata, TElStringList &Headers, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjContentEncoding, std::string &ObjETag);
    void ReadObject(TElAWSS3DataStorageObject *Obj, TStream *Strm, TSBAWSS3ReadObjectCondition Condition, int64_t DateTime, const std::string &ETag, TElStringList *Metadata, TElStringList *Headers, std::string &ObjContentType, std::string &ObjContentDisposition, std::string &ObjContentEncoding, std::string &ObjETag);

[PHP]
    void ReadObject(string $BucketName, string $Key, TStream $Strm)
    void ReadObject(string $BucketName, string $Key, TStream $Strm, integer $Condition, DateTime $DateTime, string $ETag)
    void ReadObject(TElAWSS3DataStorageObject $Obj, TStream $Strm, integer $Condition, DateTime $DateTime, string $ETag)
    void ReadObject(string $BucketName, string $Key, TStream $Strm, integer $Condition, DateTime $DateTime, string $ETag, TElStringList $Metadata, TElStringList $Headers, string &$ObjContentType, string &$ObjContentDisposition, string &$ObjETag)
    void ReadObject(string $BucketName, string $Key, TStream $Strm, integer $Condition, DateTime $DateTime, string $ETag, TElStringList $Metadata, TElStringList $Headers, string &$ObjContentType, string &$ObjContentDisposition, string &$ObjContentEncoding, string &$ObjETag)
    void ReadObject(TElAWSS3DataStorageObject $Obj, TStream $Strm, integer $Condition, DateTime $DateTime, string $ETag, TElStringList $Metadata, TElStringList $Headers, string &$ObjContentType, string &$ObjContentDisposition, string &$ObjETag)
    void ReadObject(TElAWSS3DataStorageObject $Obj, TStream $Strm, integer $Condition, DateTime $DateTime, string $ETag, TElStringList $Metadata, TElStringList $Headers, string &$ObjContentType, string &$ObjContentDisposition, string &$ObjContentEncoding, string &$ObjETag)
    void ReadObject(TElCustomDataStorageObject $Obj, TStream $Strm)

[Java]
    void readObject(String BucketName, String Key, TElStream Strm, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag);
    void readObject(TElAWSS3DataStorageObject Obj, TElStream Strm, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag, TElStringList Metadata, TElStringList Headers, TSBString ObjContentType, TSBString ObjContentDisposition, TSBString ObjContentEncoding, TSBString ObjETag);
    void readObject(TElAWSS3DataStorageObject Obj, TElStream Strm, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag);
    void readObject(String BucketName, String Key, TElStream Strm);
    void readObject(String BucketName, String Key, TElStream Strm, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag, TElStringList Metadata, TElStringList Headers, TSBString ObjContentType, TSBString ObjContentDisposition, TSBString ObjContentEncoding, TSBString ObjETag);
    void readObject(TElAWSS3DataStorageObject Obj, TElStream Strm, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag, TElStringList Metadata, TElStringList Headers, TSBString ObjContentType, TSBString ObjContentDisposition, TSBString ObjETag);
    void readObject(String BucketName, String Key, TElStream Strm, TSBAWSS3ReadObjectCondition Condition, Date DateTime, String ETag, TElStringList Metadata, TElStringList Headers, TSBString ObjContentType, TSBString ObjContentDisposition, TSBString ObjETag);

Parameters

  • BucketName - name of the bucket with object
  • Key - a unique identifier of the object within a bucket
  • Obj - data object
  • Strm - stream where the object will be read to
  • Condition - condition under which the object will be read
  • DateTime - object's modification date and time
  • ETag - object's entity tag
  • Metadata - contains metadata of the object
  • Headers - contains HTTP headers
  • ObjContentType - contains content type of the object that has been read
  • ObjContentDisposition - contains content disposition of the object that has been read
  • ObjETag - contains entity tag of the object that has been read
  • ObjContentEncoding - ...

Values

Description

    Use this method to read data from the storage.

See also:     DeleteObject     ObjectExists     ReadBlock     WriteObject    

Discuss this help topic in SecureBlackbox Forum