Documentation of 'visad.data.gis.ArcAsciiGridForm' Java class
ArcAsciiGridForm
visad.data.gis

Class ArcAsciiGridForm

  • All Implemented Interfaces:
    FormFileInformer


    public class ArcAsciiGridForm
    extends Form
    implements FormFileInformer
    ArcAsciiGridForm is the ARC/INFO ASCIIGRID data format adapter for serialized visad.Data objects. See http://www.climatesource.com/format/arc_asciigrid.html for more info
    • Constructor Summary

      Constructors 
      Constructor and Description
      ArcAsciiGridForm()
      Construct a Form for reading in ARC/INFO ASCIIGRID files
      ArcAsciiGridForm(MathType dataType)
      Construct a Form for reading in Arc/Info ASCIIGRID files
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(java.lang.String id, Data data, boolean replace)
      Add data to an existing data object
      java.lang.String[] getDefaultSuffixes()
      Get a list of default suffixes for McIDAS map files
      FormNode getForms(Data data)
      Return the data forms that are compatible with a data object
      boolean isThisType(byte[] block)
      Determines if this is a ARC/INFO ASCIIGRID file from the starting block
      boolean isThisType(java.lang.String name)
      Determines if this is a ARC/INFO ASCIIGRID file from the name
      DataImpl open(java.lang.String id)
      Open the file specified by the string
      DataImpl open(java.net.URL url)
      Open the file specified by the URL
      void save(java.lang.String id, Data data, boolean replace)
      Save a VisAD data object in this form
      • Methods inherited from class java.lang.Object

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

      • ArcAsciiGridForm

        public ArcAsciiGridForm()
        Construct a Form for reading in ARC/INFO ASCIIGRID files
      • ArcAsciiGridForm

        public ArcAsciiGridForm(MathType dataType)
        Construct a Form for reading in Arc/Info ASCIIGRID files
    • Method Detail

      • isThisType

        public boolean isThisType(java.lang.String name)
        Determines if this is a ARC/INFO ASCIIGRID file from the name
        Specified by:
        isThisType in interface FormFileInformer
        Parameters:
        name - name of the file
        Returns:
        true if it matches the pattern for ARC/INFO ASCIIGRID files
      • isThisType

        public boolean isThisType(byte[] block)
        Determines if this is a ARC/INFO ASCIIGRID file from the starting block
        Specified by:
        isThisType in interface FormFileInformer
        Parameters:
        block - block of data to check
        Returns:
        false - there is no identifying block in a ARC/INFO ASCIIGRID file
      • getDefaultSuffixes

        public java.lang.String[] getDefaultSuffixes()
        Get a list of default suffixes for McIDAS map files
        Specified by:
        getDefaultSuffixes in interface FormFileInformer
        Returns:
        valid list of suffixes
      • getForms

        public FormNode getForms(Data data)
        Return the data forms that are compatible with a data object
        Specified by:
        getForms in class FormNode
        Returns:
        null

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.