APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Music Player
版本号:1.9.0
包名称:com.musicplayer.player.mp3player.white

MD5 校验值:47dc1c492bf2859d50823a0fe72087d7

反编译源代码说明

c.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package g.b.a;

import g.b.a.b.h;
import g.b.a.d.f;
import g.b.a.d.i;
import g.b.a.d.j;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.logging.Logger;
import org.jaudiotagger.audio.mp4.Mp4FileReader;
import org.jaudiotagger.audio.mp4.Mp4FileWriter;
import org.jaudiotagger.logging.ErrorMessage;
import org.jaudiotagger.tag.TagException;

public class c {

    public static Logger f4751a = Logger.getLogger("org.jaudiotagger.audio");

    public static c f4752b;

    public Map<String, g.b.a.d.e> f4754d = new HashMap();

    public Map<String, f> f4755e = new HashMap();

    public final i f4753c = new i();

    public c() {
        this.f4754d.put(e.OGG.m, new g.b.a.f.a());
        this.f4754d.put(e.FLAC.m, new g.b.a.c.a());
        this.f4754d.put(e.MP3.m, new g.b.a.e.d());
        this.f4754d.put(e.MP4.m, new Mp4FileReader());
        this.f4754d.put(e.M4A.m, new Mp4FileReader());
        this.f4754d.put(e.M4P.m, new Mp4FileReader());
        this.f4754d.put(e.M4B.m, new Mp4FileReader());
        this.f4754d.put(e.WAV.m, new g.b.a.h.a());
        this.f4754d.put(e.WMA.m, new g.b.a.a.a());
        g.b.a.g.b bVar = new g.b.a.g.b();
        this.f4754d.put(e.RA.m, bVar);
        this.f4754d.put(e.RM.m, bVar);
        this.f4755e.put(e.OGG.m, new g.b.a.f.b());
        this.f4755e.put(e.FLAC.m, new g.b.a.c.b());
        this.f4755e.put(e.MP3.m, new g.b.a.e.e());
        this.f4755e.put(e.MP4.m, new Mp4FileWriter());
        this.f4755e.put(e.M4A.m, new Mp4FileWriter());
        this.f4755e.put(e.M4P.m, new Mp4FileWriter());
        this.f4755e.put(e.M4B.m, new Mp4FileWriter());
        this.f4755e.put(e.WAV.m, new g.b.a.h.b());
        this.f4755e.put(e.WMA.m, new g.b.a.a.b());
        this.f4755e.values().iterator();
        Iterator<f> it = this.f4755e.values().iterator();
        while (it.hasNext()) {
            it.next().setAudioFileModificationListener(this.f4753c);
        }
    }

    public static c a() {
        if (f4752b == null) {
            f4752b = new c();
        }
        return f4752b;
    }

    public a b(File file) throws g.b.a.b.a, IOException, TagException, h, g.b.a.b.d {
        Logger logger = f4751a;
        StringBuilder b2 = c.c.b.a.a.b("Reading file:path");
        b2.append(file.getPath());
        b2.append(":abs:");
        b2.append(file.getAbsolutePath());
        logger.config(b2.toString());
        if (file.exists()) {
            String b3 = j.b(file);
            g.b.a.d.e eVar = this.f4754d.get(b3);
            if (eVar != null) {
                return eVar.read(file);
            }
            throw new g.b.a.b.a(ErrorMessage.NO_READER_FOR_THIS_FORMAT.getMsg(b3));
        }
        Logger logger2 = f4751a;
        StringBuilder b4 = c.c.b.a.a.b("Unable to find:");
        b4.append(file.getPath());
        logger2.severe(b4.toString());
        throw new FileNotFoundException(ErrorMessage.UNABLE_TO_FIND_FILE.getMsg(file.getPath()));
    }

    public static a a(File file) throws g.b.a.b.a, IOException, TagException, h, g.b.a.b.d {
        if (f4752b == null) {
            f4752b = new c();
        }
        return f4752b.b(file);
    }

    public void a(a aVar) throws g.b.a.b.c {
        String b2 = j.b(aVar.f4659b);
        f fVar = this.f4755e.get(b2);
        if (fVar != null) {
            fVar.write(aVar);
            return;
        }
        throw new g.b.a.b.c(ErrorMessage.NO_WRITER_FOR_THIS_FORMAT.getMsg(b2));
    }
}