⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 id3vxconfactory.java

📁 自己用Java写的一个mp3文件改名的小工具
💻 JAVA
字号:
import java.io.FileNotFoundException;
import java.io.IOException;

/**
 *  Description of the Class
 *
 * @author     root
 * @created    2003年12月22日
 */
public final class ID3VxConFactory {
	/**
	 *  Description of the Field
	 */
	private static ID3v1Controler v1;
	/**
	 *  Description of the Field
	 */
	private static ID3v2Controler v2;
	/**
	 *  Description of the Field
	 */
	public ID3Interface theID3Interface;


	/**
	 * @param  filename
	 * @return                                 ID3Interface
	 * @exception  FileNotFoundException       Description of the Exception
	 * @exception  IOException                 Description of the Exception
	 * @throws  java.io.FileNotFoundException
	 * @throws  BadID3Exception
	 * @throws  BadID3Exception
	 * @throws  java.io.IOException
	 * @roseuid                                3FD95CBF0000
	 */
	public static ID3Interface getID3Controler( Object filename )
		throws FileNotFoundException, BadID3Exception, BadID3Exception,
			IOException {

		if ( ID3v2Controler.ID3Check( filename ) ) {
			if ( v2 != null ) {
				v2.setFileName( filename );
				return v2;
			}
			return new ID3v2Controler( filename );
		}
		else if ( ID3v1Controler.ID3Check( filename ) ) {
			if ( v1 != null ) {
				v1.setFileName( filename );
				return v1;
			}
			return new ID3v1Controler( filename );
		}
		return null;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -