Package org.exoplatform.services.common

Examples of org.exoplatform.services.common.DataBuffer


         if (statusCode != HttpStatus.SC_OK)
         {
            throw new MalformedURLException("Server response code " + statusCode);
         }
         InputStream input = get.getResponseBodyAsStream();
         DataBuffer buffer = new DataBuffer();
         byte[] data = buffer.loadInputStream(input).toByteArray();
         return createDocument(data, charset, channelClazz, itemClazz);
      }
      finally
      {
         if (get != null)
View Full Code Here

TOP

Related Classes of org.exoplatform.services.common.DataBuffer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.