org.apache.cocoon.util
Class ByteRange
java.lang.Object
org.apache.cocoon.util.ByteRange
- public final class ByteRange
- extends Object
- Version:
- $Id: ByteRange.java 587751 2007-10-24 02:41:36Z vgritsenko $
ByteRange
public ByteRange(long start,
long end)
ByteRange
public ByteRange(String string)
throws NumberFormatException
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.