org.eclipse.mat.snapshot
Class SnapshotFormat

java.lang.Object
  extended by org.eclipse.mat.snapshot.SnapshotFormat

public class SnapshotFormat
extends Object

Summary of a parser for the snapshot

No Instantiate:

Constructor Summary
SnapshotFormat(String name, String[] fileExtensions)
          Create summary information about a parser
 
Method Summary
 String[] getFileExtensions()
          Get the file extensions.
 String getName()
          Get the parser name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotFormat

public SnapshotFormat(String name,
                      String[] fileExtensions)
Create summary information about a parser

Parameters:
name - name of the parser type
fileExtensions - file extensions it handles
Method Detail

getName

public String getName()
Get the parser name

Returns:
the parser name

getFileExtensions

public String[] getFileExtensions()
Get the file extensions. Used for filtering files in a file dialog when choosing a snapshot to open

Returns:
an array of file extensions