net.chilicat.m3u8
Class Playlist
java.lang.Object
net.chilicat.m3u8.Playlist
- All Implemented Interfaces:
- java.lang.Iterable<Element>
public final class Playlist
- extends java.lang.Object
- implements java.lang.Iterable<Element>
- Author:
- dkuffner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
parse
public static Playlist parse(java.lang.Readable readable)
throws ParseException
- Throws:
ParseException
parse
public static Playlist parse(java.lang.String playlist)
throws ParseException
- Throws:
ParseException
parse
public static Playlist parse(java.io.InputStream playlist)
throws ParseException
- Throws:
ParseException
parse
public static Playlist parse(java.nio.channels.ReadableByteChannel playlist)
throws ParseException
- Throws:
ParseException
getTargetDuration
public int getTargetDuration()
iterator
public java.util.Iterator<Element> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<Element>
getElements
public java.util.List<Element> getElements()
isEndSet
public boolean isEndSet()
getMediaSequenceNumber
public int getMediaSequenceNumber()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010. All Rights Reserved.