views:

127

answers:

2

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, how do i find out its methods etc?

+2  A: 

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.

BalusC
thank you very much!
Jakob
You're welcome.
BalusC
A: 

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

Xuggle