📄 taginfo.java
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package com.hadeslee.yoyoplayer.tag;import java.io.File;import java.io.IOException;import java.io.InputStream;import java.io.Serializable;import java.net.URL;import java.util.Vector;import javax.sound.sampled.UnsupportedAudioFileException;/** * * @author Admin */public interface TagInfo extends Serializable { public void load(InputStream input) throws IOException, UnsupportedAudioFileException; public void load(URL input) throws IOException, UnsupportedAudioFileException; public void load(File input) throws IOException, UnsupportedAudioFileException; /** * Get Sampling Rate * * @return sampling rate */ public int getSamplingRate(); /** * Get Nominal Bitrate * * @return bitrate in bps */ public int getBitRate(); /** * Get channels. * * @return channels */ public int getChannels(); /** * Get play time in seconds. * * @return play time in seconds */ public long getPlayTime(); /** * Get the title of the song. * * @return the title of the song */ public String getTitle(); /** * Get the artist that performed the song * * @return the artist that performed the song */ public String getArtist(); /** * Get the name of the album upon which the song resides * * @return the album name */ public String getAlbum(); /** * Get the track number of this track on the album * * @return the track number */ public String getTrack(); /** * Get the genre string of the music * * @return the genre string */ public String getGenre(); /** * Get the year the track was released * * @return the year the track was released */ public String getYear(); /** * Get any comments provided about the song * * @return the comments */ public Vector getComment(); /** * 得到某种音乐的格式,比如MP3,FLAC,等等 * @return 格式 */ public String getType();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -