visad.data.hdfeos
Class Hdfeos
- java.lang.Object
-
- visad.data.FormNode
-
- visad.data.Form
-
- visad.data.hdfeos.Hdfeos
-
- All Implemented Interfaces:
- FormFileInformer
- Direct Known Subclasses:
- HdfeosForm
public abstract class Hdfeos extends Form implements FormFileInformer
-
-
Constructor Summary
Constructors Constructor and Description Hdfeos(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description java.lang.String[]getDefaultSuffixes()Get default suffixes for files/URLs handeled by this form.booleanisThisType(byte[] block)Check to see if the block contains the magic number for this form.booleanisThisType(java.lang.String name)Check to see if the file name might be right for this form.abstract DataImplopen(java.lang.String file_path)Open an existing data object.-
Methods inherited from class visad.data.Form
getMathType
-
-
-
-
Method Detail
-
isThisType
public boolean isThisType(java.lang.String name)
Description copied from interface:FormFileInformerCheck to see if the file name might be right for this form.- Specified by:
isThisTypein interfaceFormFileInformer- Parameters:
name- name of the file- Returns:
- true if the name is right for this type of form
-
isThisType
public boolean isThisType(byte[] block)
Description copied from interface:FormFileInformerCheck to see if the block contains the magic number for this form.- Specified by:
isThisTypein interfaceFormFileInformer- Parameters:
block- block of bytes from file- Returns:
- true if the magic number is right
-
getDefaultSuffixes
public java.lang.String[] getDefaultSuffixes()
Description copied from interface:FormFileInformerGet default suffixes for files/URLs handeled by this form.- Specified by:
getDefaultSuffixesin interfaceFormFileInformer- Returns:
- array of suffixes
-
open
public abstract DataImpl open(java.lang.String file_path) throws BadFormException, java.io.IOException, VisADException
Description copied from class:FormNodeOpen an existing data object.- Specified by:
openin classFormNode- Throws:
BadFormExceptionjava.io.IOExceptionVisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG