开发者

Java JMC "MediaProvider" - mystery class

in a library i'm having problems with there is this class

com.sun.media.jmc.MediaProvider

which i want to have a look at. i can't find a javadoc or anything for it, ho开发者_高级运维w do i find out its methods etc?


The classes of the package com.sun.* (and sun.*) are internal classes which backs the standard Java API. They are undocumented and subject to changes among versions and builds. You should in fact never make use of them in your Java code, else your code will break when you change the API implementation. Also see this SO topic.

In this case, the com.sun.media.jmc.MediaProvider is part of the Sun reference implementation of the JMF API (javadocs here). You are supposed to make use of the classes documented in the JMF API only. The (abstract) factories/builders will invisibly provide the Sun reference implemtations.


You should also consider Xuggler, which supports more codecs than JMF, is free and open-source, and is actively developed and supported (unlike JMF).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜