java.lang.Object
org.apache.camel.component.huaweicloud.obs.OBSUtils

public final class OBSUtils extends Object
  • Method Details

    • toBytes

      public static byte[] toBytes(InputStream stream) throws IOException
      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 -