org.apache.cocoon.util
Class ByteRange

java.lang.Object
  extended byorg.apache.cocoon.util.ByteRange

public final class ByteRange
extends Object

Version:
$Id: ByteRange.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
ByteRange(long start, long end)
           
ByteRange(String string)
           
 
Method Summary
 long getEnd()
           
 long getStart()
           
 ByteRange intersection(ByteRange range)
           
 long length()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteRange

public ByteRange(long start,
                 long end)

ByteRange

public ByteRange(String string)
          throws NumberFormatException
Method Detail

getStart

public long getStart()

getEnd

public long getEnd()

length

public long length()

intersection

public ByteRange intersection(ByteRange range)

toString

public String toString()


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.