JSpiff Read Me
http://www.melloware.com/
Copyright 1999-2006 Emil A. Lefkof III
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Contents
--------
1. Overview
2. Features
3. Installation
4. Quick Usage
5. Acknowledgements
6. Feedback
1. Overview
--------
JSpiff is a Java API for reading and writing XSPF ("Spiff")
open XML playlists. Tired of Winamp M3U playlists? So are we!
2. Features
--------
-> 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.
-> JAXP Implementation available
-> JAXB Implementation available
-> Simple to use Java API
3. Installation
------------
FOR USERS:
-> Copy the following files into your classpath
-> JSpiff-1.0.jar
FOR DEVELOPERS:
-> To build you need Maven 2.0.4 or higher installed from Apache. Just run "mvn package" from the
directory where the pom.xml is located to build the project.
4. Quick Usage
------------
final XspfPlaylist playlist = new XspfPlaylist();
playlist.setTitle("Track Test Playlist");
playlist.setCreator("Melloware User");
playlist.setDate(new Timestamp(System.currentTimeMillis()));
playlist.setInfo("http://melloware.com/");
playlist.setVersion("1");
playlist.setImage("http://melloware.com/images/header.jpg");
playlist.setIdentifier(Integer.toString(super.hashCode()));
playlist.setLicense("http://www.apache.org/licenses/LICENSE-2.0.txt");
// create track list first
final XspfPlaylistTrackList tracks = new XspfPlaylistTrackList();
// now create track 1 and add to list
XspfTrack track = new XspfTrack();
track.setIdentifier("135c3af5-526f-4d87-9757-1b404b51e31d");
track.setLocation("C:\\music\\01 - She Talks To Angels.mp3");
track.setCreator("Black Crowes");
track.setAlbum("Shake Your Moneymaker");
track.setTitle("She Talks To Angels");
track.setAnnotation("This is a classic song");
track.setTrackNumByString("01");
track.setDurationByString("314");
tracks.addTrack(track);
// now create track 2 and add to list
track = new XspfTrack();
track.setIdentifier("e113c56f-c4d4-4bfb-b9f0-6f90a172b5a9");
track.setLocation("C:\\music\\02 - Come Together.mp3");
track.setCreator("Beatles");
track.setAlbum("Abbey Road");
track.setTitle("Come Together");
track.setAnnotation("Love the Beatles");
track.setTrackNumByString("02");
track.setDurationByString("226");
tracks.addTrack(track);
// add track to playlist
playlist.setPlaylistTrackList(tracks);
// make an xml document out of it
final String xml = playlist.makeTextDocument();
System.out.println(xml);
See demo at src\test\java\com\melloware\jspiff\jaxp\XspfJAXPTest.java for more info..
5. Acknowledgements
----------------
JSpiff could not be possible without Xiph.org creating the XSPF
playlist format. We would like to thank them for putting this
forward and getting the entire music community away from proprietary
playlist formats.
6. Feedback
--------
Your feedback on JSpiff (hopefully constructive) is always welcome. Please
visit http://www.melloware.com/ for links to browse and join mailing
lists, file bugs and submit feature requests.
Also a forum is set up at http://forum.melloware.com/index.php for discussion.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
94683686Yobo.Android.rar (97个子文件)
Yobo.Android
AndroidManifest.xml 1KB
res
layout
helps.xml 1KB
uinfo.xml 2KB
box_row.xml 2KB
playlist.xml 527B
song_row.xml 2KB
auth.xml 560B
yobo.xml 382B
main.xml 575B
station.xml 527B
box.xml 541B
drawable
player_fwd.png 3KB
music_box.png 3KB
home.png 4KB
player_rew.png 3KB
menu_start.png 2KB
player_pause.png 3KB
s_player.png 1KB
music_radio.png 3KB
album.jpg 3KB
refresh.png 4KB
menu_helps.png 2KB
helps.png 3KB
player_eject.png 3KB
player_stop.png 3KB
logo.gif 6KB
setting.png 2KB
player_play.png 3KB
icon.png 3KB
album_small.jpg 1KB
player_end.png 3KB
abouts.png 5KB
values
color.xml 119B
helps.xml 1KB
strings.xml 1KB
app.xml 841B
src
us
imnet
iceskysl
BoxActivty.java 3KB
Helps.java 304B
yobo
Song.java 61B
Box.java 1KB
Station.java 1KB
User.java 9KB
YPRSInterface.aidl 254B
util
PreferencesUtil.java 1KB
Tools.java 7KB
service
YPRService.java 3KB
xspf
XSPFHandler.java 2KB
Parser.java 5KB
Track.java 4KB
Playlist.java 3KB
Main.java 1KB
StationActivty.java 2KB
Yobo.java 342B
PlayListActivity.java 7KB
Auth.java 13KB
bin
classes.dex 49KB
us
imnet
iceskysl
Yobo.class 491B
Auth.class 12KB
Auth$2.class 1KB
R$color.class 433B
yobo
User.class 9KB
Box.class 3KB
Station.class 2KB
Song.class 283B
YPRSInterface.aidl 254B
R.class 571B
Main.class 2KB
StationActivty.class 4KB
util
PreferencesUtil.class 1KB
Tools.class 8KB
R$layout.class 658B
R$attr.class 337B
PlayListActivity.class 9KB
Auth$1.class 1KB
service
YPRService.class 4KB
YPRService$1.class 3KB
YPRService$2.class 873B
xspf
Track.class 3KB
Playlist.class 2KB
Parser.class 5KB
YPRSInterface.class 527B
R$id.class 738B
R$string.class 1KB
BoxActivty.class 5KB
Helps.class 579B
YPRSInterface$Stub$Proxy.class 3KB
YPRSInterface$Stub.class 2KB
PlayListActivity$1.class 1KB
R$drawable.class 1KB
resources.ap_ 74KB
Yobo.Android.apk 100KB
.classpath 280B
default.properties 960B
.project 848B
gen
us
imnet
iceskysl
R.java 5KB
YPRSInterface.java 6KB
readme.txt 4KB
共 97 条
- 1
资源评论
- Queen_flower2012-08-10如果能带缓冲值就更好了
- mutou124562012-07-10不能运行,一堆错误
- ahfanchuanqi20082013-05-28用不了,那么多分,浪费了。
- aa153066627702013-02-24运行不起来,错误多多。
haozhuzi
- 粉丝: 11
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 2023-04-06-项目笔记 - 第一百十五阶段 - 4.4.2.113全局变量的作用域-113 -2024.04.26
- 2023-04-06-项目笔记 - 第一百十五阶段 - 4.4.2.113全局变量的作用域-113 -2024.04.26
- htmlzwbjq_downyi.com.zip
- 无头单向非循环链表的实现(Test.c)
- 无头单向非循环链表的实现(SList.c)
- 浏览器重定向插件更新文件
- SSA-BP麻雀算法优化BP神经网络多特征分类预测(Matlab实现完整源码和数据)
- 粒子群算法优化BP神经网络PSO-BP的MATLAB代码(数值预测)
- 基于Springboot的一起看书平台.zip
- 无头单向非循环链表的实现(SList.h)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功