Package org.simpleframework.util.buffer

Examples of org.simpleframework.util.buffer.BufferAllocator


    * @param series this is the part list used to accumulate the parts  
    * @param boundary this is the boundary used for the upload
    * @param length this is the number of bytes the upload should be  
    */   
   public PartSeriesConsumer(Allocator allocator, PartSeries series, byte[] boundary, long length) {
      this.buffer = new BufferAllocator(allocator, length);
      this.consumer = new PartEntryConsumer(buffer, series, boundary, length);
      this.factory = new PartEntryFactory(buffer, series, boundary, length);
      this.series = series;
   }
View Full Code Here


    * @param boundary this is the boundary used for the upload
    * @param length this is the number of bytes the upload should be  
    * @param list this is the part list used to accumulate the parts  
    */   
   public PartListConsumer(Allocator allocator, PartList list, byte[] boundary, int length) {
      this.buffer = new BufferAllocator(allocator, length);
      this.consumer = new PartEntryConsumer(buffer, list, boundary);
      this.factory = new PartEntryFactory(buffer, list, boundary);
      this.list = list;
   }
View Full Code Here

TOP

Related Classes of org.simpleframework.util.buffer.BufferAllocator

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.