rabbit.proxy
Class PartialCacher

java.lang.Object
  extended by rabbit.proxy.PartialCacher

public class PartialCacher
extends Object

An updater that writes an updated range to a cache file.

Author:
Robert Olofsson

Constructor Summary
PartialCacher(Logger logger, String fileName, HttpHeader response)
           
 
Method Summary
 WritableByteChannel getChannel()
           
 long getEnd()
           
 long getStart()
           
 long getTotal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialCacher

public PartialCacher(Logger logger,
                     String fileName,
                     HttpHeader response)
              throws IOException
Throws:
IOException
Method Detail

getChannel

public WritableByteChannel getChannel()

getStart

public long getStart()

getEnd

public long getEnd()

getTotal

public long getTotal()