Documentation of 'visad.data.hrit.HRITForm' Java class
HRITForm
visad.data.hrit

Class HRITForm

    • Constructor Summary

      Constructors 
      Constructor and Description
      HRITForm() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(java.lang.String id, Data data, boolean replace)
      This has not been implemented
      java.lang.String[] getDefaultSuffixes()
      return a list of suffixes associated with this file type
      FormNode getForms(Data data)
      not implemented yet
      boolean isThisType(byte[] block)
      This method will be used to identify an HRIT file by examining the contents of the first block of data values.
      boolean isThisType(java.lang.String name)
      determine the file type by name.
      DataImpl open(java.lang.String path)
      read the HRIT file from local disk, and return the HRIT data as a DataImpl object (a FlatField).
      DataImpl open(java.net.URL url)
      read the HRIT file from a URL, and return the HRIT file as a DataImpl object (a FlatField).
      void save(java.lang.String id, Data data, boolean replace)
      save the file back to disk This has not been implemented yet
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HRITForm

        public HRITForm()
    • Method Detail

      • isThisType

        public boolean isThisType(java.lang.String name)
        determine the file type by name. At present we are only checking for MSG2 HRIT files. This will change.
        Specified by:
        isThisType in interface FormFileInformer
        Parameters:
        name - is the filename in question
        Returns:
        true if the name is right for this type of form
      • isThisType

        public boolean isThisType(byte[] block)
        This method will be used to identify an HRIT file by examining the contents of the first block of data values. Presently unimplemented.
        Specified by:
        isThisType in interface FormFileInformer
        Parameters:
        block - is an array of ? length from the beginning of the file in question.
        Returns:
        true if the magic number is right
      • getDefaultSuffixes

        public java.lang.String[] getDefaultSuffixes()
        return a list of suffixes associated with this file type
        Specified by:
        getDefaultSuffixes in interface FormFileInformer
        Returns:
        array of suffixes

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.