public class BytesRange extends Object
Constructor and Description |
---|
BytesRange(Long firstByte,
Long lastByte) |
BytesRange(Long firstByte,
Long lastByte,
Long byteLength) |
Modifier and Type | Method and Description |
---|---|
Long |
getByteLength() |
Long |
getFirstByte() |
Long |
getLastByte() |
String |
getString() |
String |
getString(boolean includeDuration) |
String |
getString(boolean includeDuration,
String rangePrefix) |
static BytesRange |
valueOf(String s) |
static BytesRange |
valueOf(String s,
String rangePrefix) |
public static final String PREFIX
public Long getFirstByte()
public Long getLastByte()
public Long getByteLength()
public String getString()
public String getString(boolean includeDuration)
public String getString(boolean includeDuration, String rangePrefix)
public static BytesRange valueOf(String s) throws InvalidValueException
InvalidValueException
public static BytesRange valueOf(String s, String rangePrefix) throws InvalidValueException
InvalidValueException
Copyright © 2014 4th Line GmbH, Switzerland. All Rights Reserved.