Class FileInfoJSON

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

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

      • description

        private java.lang.String description
        Use serialVersionUID for interoperability.
      • url

        private java.lang.String url
      • version

        private java.lang.String version
      • year

        private java.lang.String year
      • contributor

        private java.lang.String contributor
      • date_created

        private java.lang.String date_created
    • Constructor Detail

      • FileInfoJSON

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

      • 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​(java.lang.String description)
      • setURL

        public void setURL​(java.lang.String url)
      • setVersion

        public void setVersion​(java.lang.String version)
      • setYear

        public void setYear​(java.lang.String year)
      • setContributor

        public void setContributor​(java.lang.String contributor)
      • setDate_created

        public void setDate_created​(java.lang.String date_created)