public static interface SnapshotFactory.Implementation
org.eclipse.mat.api.factory
extension point.Modifier and Type | Method and Description |
---|---|
IOQLQuery |
createQuery(String queryString)
Run an OQL query
|
void |
dispose(ISnapshot snapshot)
Free resources when the snapshot is no longer needed.
|
List<SnapshotFormat> |
getSupportedFormats()
Show which parsers the factory handles
|
ISnapshot |
openSnapshot(File file,
Map<String,String> arguments,
IProgressListener listener)
Opens a snapshot
|
ISnapshot openSnapshot(File file, Map<String,String> arguments, IProgressListener listener) throws SnapshotException
file
- the dump filearguments
- extra arguments to change the indexing of the dumplistener
- to show progress and errorsSnapshotException
void dispose(ISnapshot snapshot)
ISnapshot.dispose()
if the snapshot is obtained from openSnapshot(File, Map, IProgressListener)
as openSnapshot() may obtain a copy from a cache.snapshot
- IOQLQuery createQuery(String queryString) throws OQLParseException, SnapshotException
queryString
- the OQL queryOQLParseException
SnapshotException
List<SnapshotFormat> getSupportedFormats()