net.chilicat.m3u8
Class Playlist

java.lang.Object
  extended by 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

Method Summary
 java.util.List<Element> getElements()
           
 int getMediaSequenceNumber()
           
 int getTargetDuration()
           
 boolean isEndSet()
           
 java.util.Iterator<Element> iterator()
           
static Playlist parse(java.io.InputStream playlist)
           
static Playlist parse(java.lang.Readable readable)
           
static Playlist parse(java.nio.channels.ReadableByteChannel playlist)
           
static Playlist parse(java.lang.String playlist)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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.