org.apache.cocoon.util
Class ByteRange
java.lang.Object
org.apache.cocoon.util.ByteRange
public final class ByteRange
- extends Object
- Version:
- CVS $Id: ByteRange.java 433543 2006-08-22 06:22:54Z crossley $
- Author:
- Stuart Roebuck
ByteRange
public ByteRange(long start,
long end)
ByteRange
public ByteRange(String string)
throws NumberFormatException
- Throws:
NumberFormatException
getStart
public long getStart()
getEnd
public long getEnd()
length
public long length()
intersection
public ByteRange intersection(ByteRange range)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright ? 1999-2007 The Apache Software Foundation. All Rights Reserved.