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.
没有合适的资源?快使用搜索试试~ 我知道了~
Android 系统里的音乐播放机相关Java源代码
共97个文件
class:32个
java:20个
png:18个
需积分: 9 56 下载量 94 浏览量
2011-11-15
09:19:35
上传
评论 1
收藏 322KB RAR 举报
温馨提示
Android 系统里的音乐播放机相关Java源代码,我想这是比较有参考价值的,代码内的关键部分都做有注释,方便学习Android的朋友做参考,注意:主界面(判断是否已经有访问权限,如果没有,则跳转的到Auth页面进行授权) //否则就到Yobo界面(展示个人的电台和音乐盒)……
资源推荐
资源详情
资源评论
收起资源包目录
Yobo.Android.rar (97个子文件)
codefans.net
Yobo.Android
bin
classes.dex 49KB
Yobo.Android.apk 100KB
us
imnet
iceskysl
R$layout.class 658B
yobo
User.class 9KB
Box.class 3KB
Song.class 283B
Station.class 2KB
R$id.class 738B
R$drawable.class 1KB
Auth$1.class 1KB
Helps.class 579B
PlayListActivity.class 9KB
StationActivty.class 4KB
Yobo.class 491B
R$attr.class 337B
YPRSInterface$Stub.class 2KB
R.class 571B
Main.class 2KB
Auth$2.class 1KB
R$string.class 1KB
xspf
Track.class 3KB
Playlist.class 2KB
Parser.class 5KB
YPRSInterface$Stub$Proxy.class 3KB
service
YPRService$1.class 3KB
YPRService.class 4KB
YPRService$2.class 873B
PlayListActivity$1.class 1KB
R$color.class 433B
util
PreferencesUtil.class 1KB
Tools.class 8KB
YPRSInterface.class 527B
BoxActivty.class 5KB
Auth.class 12KB
YPRSInterface.aidl 254B
resources.ap_ 74KB
res
drawable
helps.png 3KB
menu_helps.png 2KB
music_box.png 3KB
player_fwd.png 3KB
player_stop.png 3KB
refresh.png 4KB
s_player.png 1KB
player_play.png 3KB
menu_start.png 2KB
icon.png 3KB
home.png 4KB
logo.gif 6KB
player_end.png 3KB
setting.png 2KB
album.jpg 3KB
album_small.jpg 1KB
player_eject.png 3KB
player_rew.png 3KB
music_radio.png 3KB
player_pause.png 3KB
abouts.png 5KB
values
helps.xml 1KB
app.xml 841B
strings.xml 1KB
color.xml 119B
layout
playlist.xml 527B
yobo.xml 382B
box.xml 541B
helps.xml 1KB
uinfo.xml 2KB
song_row.xml 2KB
station.xml 527B
box_row.xml 2KB
main.xml 575B
auth.xml 560B
default.properties 960B
gen
us
imnet
iceskysl
YPRSInterface.java 6KB
R.java 5KB
src
us
imnet
iceskysl
Helps.java 341B
yobo
User.java 9KB
Song.java 61B
Station.java 1KB
Box.java 1KB
StationActivty.java 2KB
BoxActivty.java 3KB
Auth.java 13KB
Yobo.java 379B
PlayListActivity.java 7KB
xspf
Playlist.java 3KB
XSPFHandler.java 2KB
Parser.java 5KB
Track.java 4KB
service
YPRService.java 3KB
util
Tools.java 7KB
PreferencesUtil.java 1KB
Main.java 2KB
YPRSInterface.aidl 254B
.project 848B
.classpath 280B
AndroidManifest.xml 1KB
readme.txt 4KB
共 97 条
- 1
资源评论
wangxiangdong_sl
- 粉丝: 171
- 资源: 179
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功