|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.parser.internal.SnapshotFactoryImpl
public class SnapshotFactoryImpl
Constructor Summary | |
---|---|
SnapshotFactoryImpl()
|
Method Summary | |
---|---|
IOQLQuery |
createQuery(java.lang.String queryString)
Run an OQL query |
void |
dispose(ISnapshot snapshot)
Free resources when the snapshot is no longer needed. |
java.util.List<SnapshotFormat> |
getSupportedFormats()
Show which parsers the factory handles |
ISnapshot |
openSnapshot(java.io.File file,
java.util.Map<java.lang.String,java.lang.String> args,
IProgressListener listener)
Opens a snapshot |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SnapshotFactoryImpl()
Method Detail |
---|
public ISnapshot openSnapshot(java.io.File file, java.util.Map<java.lang.String,java.lang.String> args, IProgressListener listener) throws SnapshotException
SnapshotFactory.Implementation
openSnapshot
in interface SnapshotFactory.Implementation
file
- the dump fileargs
- extra arguments to change the indexing of the dumplistener
- to show progress and errors
SnapshotException
public void dispose(ISnapshot snapshot)
SnapshotFactory.Implementation
dispose
in interface SnapshotFactory.Implementation
public IOQLQuery createQuery(java.lang.String queryString) throws SnapshotException
SnapshotFactory.Implementation
createQuery
in interface SnapshotFactory.Implementation
queryString
- the OQL query
OQLParseException
SnapshotException
public java.util.List<SnapshotFormat> getSupportedFormats()
SnapshotFactory.Implementation
getSupportedFormats
in interface SnapshotFactory.Implementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |