|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jrockit.mc.flightrecorder.spi.Provider
com.jrockit.mc.flightrecorder.spi.FileProvider
public abstract class FileProvider
Abstract base class for providers that can create an IRepository from
a File
| Constructor Summary | |
|---|---|
FileProvider()
|
|
| Method Summary | |
|---|---|
IRepository |
createRepository()
Create the IRepository for the provider. |
abstract IRepository |
createRepositoryFromFile(java.io.File file)
Create an IRepository from a file |
java.io.File |
getFile()
Returns the file used to create the the IRepository |
void |
setFile(java.io.File file)
Sets the file 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 FileProvider()
| Method Detail |
|---|
public final void setFile(java.io.File file)
IRepository
file - the file inputpublic final java.io.File getFile()
IRepository
public final IRepository createRepository()
ProviderIRepository for the provider.
createRepository in class Provider
public abstract IRepository createRepositoryFromFile(java.io.File file)
throws java.io.IOException
IRepository from a file
file - the file to create the repository from
java.io.IOException - if there were problem creating the repository from the file,
e.g FileNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||