|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrockit.mc.flightrecorder.ProviderFactory
public final class ProviderFactory
Factory class that creates providers for a FlightRecording
.
Method Summary | |
---|---|
static Provider |
createClassPathProvider()
Creates a provider by looking at the system property com.jrockit.mc.flightrecorder.provider for a suitable class name. |
static FileProvider |
createDefaultFileProvider()
Creates a JRockitFileProvider provider if the system property
com.jrockit.mc.flightrecorder.provider is set to the name of class that
implements FileProvider . |
static Provider |
createJRockitFileProvider(java.io.File file)
Creates a provider that is capable of opening up binary JRockit flight recording file. |
static Provider |
createJRockitStreamProvider(java.io.InputStream is)
Create a provider that can read JRokcit recording from an InputStream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Provider createJRockitFileProvider(java.io.File file)
file
- the file to open
public static Provider createClassPathProvider() throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
- if no class with the given property name could be found
java.lang.IllegalAccessException
- if the class could not be accessed.
java.lang.InstantiationException
- if the class could not be instantiated.public static FileProvider createDefaultFileProvider()
JRockitFileProvider
provider if the system property
com.jrockit.mc.flightrecorder.provider is set to the name of class that
implements FileProvider
. If so, that class will be instantiated.
public static Provider createJRockitStreamProvider(java.io.InputStream is)
InputStream
is
- the InputStream
to read from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |