JSpiff API

Introduction

JSpiff is a Java API for reading and writing XSPF ("Spiff") open XML playlists. Tired of Winamp M3U playlists? So are we!

XSPF

XSPF ("Spiff") is the XML format for sharing playlists from Xiph.org.

Some advantages of XSPF are:



* It is open -- No proprietary lock-in.

* It is portable -- You should be able to send a playlist to your friend and have it work.

* It is well-engineered -- Most playlist formats get the easy things wrong.

* Unlike M3U -- XSPF is XML.

* Unlike SMIL -- XSPF is simple.

* Unlike ASX -- XSPF is open.

An Example XSPF playlist.

Usage

To use XSPF in your Java applications it is simple. JSpiff provides two different mechanisms for reading and writing XSPF playlists. A JAXP implementation which is simple and only requires JDK1.5 or higher to use. A JAXB implementation which has some Dependencies but is a newer API from Sun for binding XML to Java. Examples and test cases are provided for both API's.

Check out the JAXP Usage for an example on how to use JSpiff and JAXP.

Check out the JAXB Usage for an example on how to use JSpiff and JAXB.

Donate

Although JSpiff is open source, small financial donations are appreciated. By supporting Melloware, you help fund the development (mainly development tools and internet access etc) of Melloware's Software. To send money, simply click on the PayPal icon to the left.