Documentation of 'visad.data.mcidas.AreaForm' Java class
AreaForm
visad.data.mcidas

Class AreaForm

    • Constructor Summary

      Constructors 
      Constructor and Description
      AreaForm() 
    • 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)
      there is no unique way to identify an AREA 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 area file from local disk, and return the Area file as a DataImpl object (a FlatField).
      DataImpl open(java.net.URL url)
      read the area file from a URL, and return the Area 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

      • AreaForm

        public AreaForm()
    • Method Detail

      • isThisType

        public boolean isThisType(java.lang.String name)
        determine the file type by name. McIDAS area files begin with the letters: AREA (or area).
        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)
        there is no unique way to identify an AREA file by examining the contents of the first block of data values
        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.