org.fourthline.cling.model.types
Class BytesRange
java.lang.Object
org.fourthline.cling.model.types.BytesRange
public class BytesRange
- extends Object
- Author:
- Mario Franco
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
BytesRange
public BytesRange(Long firstByte,
Long lastByte)
BytesRange
public BytesRange(Long firstByte,
Long lastByte,
Long byteLength)
getFirstByte
public Long getFirstByte()
- Returns:
- the firstByte
getLastByte
public Long getLastByte()
- Returns:
- the lastByte
getByteLength
public Long getByteLength()
- Returns:
- the byteLength
getString
public String getString()
- Returns:
- String format of Bytes Range for response message header
getString
public String getString(boolean includeDuration)
- Returns:
- String format of Bytes Range for response message header
getString
public String getString(boolean includeDuration,
String rangePrefix)
- Returns:
- String format of Bytes Range for response message header
valueOf
public static BytesRange valueOf(String s)
throws InvalidValueException
- Throws:
InvalidValueException
valueOf
public static BytesRange valueOf(String s,
String rangePrefix)
throws InvalidValueException
- Throws:
InvalidValueException
Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.