Class OBSUtils
java.lang.Object
org.apache.camel.component.huaweicloud.obs.OBSUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
mapObsObject
(org.apache.camel.Exchange exchange, com.obs.services.model.ObsObject obsObject) maps the Obs object along with all its meta-data into exchangestatic byte[]
toBytes
(InputStream stream) Convert input stream to a byte array
-
Method Details
-
toBytes
Convert input stream to a byte array- Parameters:
stream
-- Returns:
- Throws:
IOException
-
mapObsObject
public static void mapObsObject(org.apache.camel.Exchange exchange, com.obs.services.model.ObsObject obsObject) maps the Obs object along with all its meta-data into exchange- Parameters:
exchange
-obsObject
-
-