org.javaswift.joss.headers.object.range
Class MidPartRange

java.lang.Object
  extended by org.javaswift.joss.headers.Header
      extended by org.javaswift.joss.headers.object.range.AbstractRange
          extended by org.javaswift.joss.headers.object.range.MidPartRange

public class MidPartRange
extends AbstractRange

Take the object starting at 'startPos' and ending at 'endPos'


Field Summary
 
Fields inherited from class org.javaswift.joss.headers.object.range.AbstractRange
length, offset, RANGE_HEADER_NAME, RANGE_HEADER_VALUE_PREFIX
 
Constructor Summary
MidPartRange(int startPos, int endPos)
           
 
Method Summary
 int getFrom(int byteArrayLength)
           
 int getTo(int byteArrayLength)
           
 
Methods inherited from class org.javaswift.joss.headers.object.range.AbstractRange
copy, getHeaderName, getHeaderValue
 
Methods inherited from class org.javaswift.joss.headers.Header
convertResponseHeader, getResponseHeadersStartingWith, headerNotEmpty, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidPartRange

public MidPartRange(int startPos,
                    int endPos)
Method Detail

getFrom

public int getFrom(int byteArrayLength)
Specified by:
getFrom in class AbstractRange

getTo

public int getTo(int byteArrayLength)
Specified by:
getTo in class AbstractRange


Copyright © 2012-2014 42 BV. All Rights Reserved.