|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jrockit.mc.flightrecorder.spi.Provider com.jrockit.mc.flightrecorder.spi.StreamProvider
public abstract class StreamProvider
Abstract base class for providers that can create an IRepository
from
a InputStream
Constructor Summary | |
---|---|
StreamProvider()
|
Method Summary | |
---|---|
IRepository |
createRepository()
Create the IRepository for the provider. |
abstract IRepository |
createRepositoryFromStream(java.io.InputStream inputStream)
Create an IRepository from an InputStream |
java.io.InputStream |
getInputStream()
Returns the InputStream used to create the the
IRepository |
void |
setInputStream(java.io.InputStream inputStream)
Sets the InputStream that should be used to create the
IRepository |
Methods inherited from class com.jrockit.mc.flightrecorder.spi.Provider |
---|
getFilter, getProgressMonitor, setFilter, setProgressMonitor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamProvider()
Method Detail |
---|
public final void setInputStream(java.io.InputStream inputStream)
InputStream
that should be used to create the
IRepository
inputStream
- the inputStreampublic final java.io.InputStream getInputStream()
InputStream
used to create the the
IRepository
public final IRepository createRepository()
Provider
IRepository
for the provider.
createRepository
in class Provider
public abstract IRepository createRepositoryFromStream(java.io.InputStream inputStream) throws java.io.IOException
IRepository
from an InputStream
inputStream
- the inputStream to create the repository from
java.io.IOException
- if there were problem creating the repository from the
stream.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |