Class FileInfoJSON

All Implemented Interfaces:
Serializable, Cloneable

public class FileInfoJSON extends FileInfoBase
This structures contains the information that describes how a Fits image is stored on disk.
See Also:
  • Field Details

    • description

      private String description
      Use serialVersionUID for interoperability.
    • url

      private String url
    • version

      private String version
    • year

      private String year
    • contributor

      private String contributor
    • date_created

      private String date_created
  • Constructor Details

    • FileInfoJSON

      public FileInfoJSON(String name, String directory, int format)
      File info storage constructor.
      Parameters:
      name - file name
      directory - directory
      format - file format
  • Method Details

    • displayAboutInfo

      public void displayAboutInfo(JDialogBase dlog, TransMatrix matrix)
      Displays the file information.
      Specified by:
      displayAboutInfo in class FileInfoBase
      Parameters:
      dlog - dialog box that is written to
      matrix - transformation matrix
    • setDescription

      public void setDescription(String description)
    • setURL

      public void setURL(String url)
    • setVersion

      public void setVersion(String version)
    • setYear

      public void setYear(String year)
    • setContributor

      public void setContributor(String contributor)
    • setDate_created

      public void setDate_created(String date_created)