rabbit.http
Class ContentRangeParser

java.lang.Object
  extended by rabbit.http.ContentRangeParser

public class ContentRangeParser
extends Object

A class that parses content range headers.

Author:
Robert Olofsson

Constructor Summary
ContentRangeParser(String cr, Logger logger)
           
 
Method Summary
 long getEnd()
           
 long getStart()
           
 long getTotal()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentRangeParser

public ContentRangeParser(String cr,
                          Logger logger)
Method Detail

isValid

public boolean isValid()

getStart

public long getStart()

getEnd

public long getEnd()

getTotal

public long getTotal()