Class SnapshotFormat


  • public class SnapshotFormat
    extends java.lang.Object
    Summary of a parser for the snapshot
    No Instantiate:
    • Constructor Summary

      Constructors 
      Constructor Description
      SnapshotFormat​(java.lang.String name, java.lang.String[] fileExtensions)
      Create summary information about a parser
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] getFileExtensions()
      Get the file extensions.
      java.lang.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​(java.lang.String name,
                              java.lang.String[] fileExtensions)
        Create summary information about a parser
        Parameters:
        name - name of the parser type
        fileExtensions - file extensions it handles
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the parser name
        Returns:
        the parser name
      • getFileExtensions

        public java.lang.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