visad.data
Interface FormFileInformer
-
- All Known Implementing Classes:
- ArcAsciiGridForm, AreaForm, AVIForm, BioRadForm, BioRadForm, DeltavisionForm, DemFamily, DODSForm, F2000Form, FitsForm, FluoviewTiffForm, GatanForm, GIFForm, HDF5Form, Hdfeos, HdfeosAdaptedForm, HdfeosForm, HRITForm, ICSForm, ImageProSeqForm, IPLabForm, IPWForm, JAIForm, LegacyTiffForm, LegacyZVIForm, LeicaForm, LociForm, MapForm, MetamorphForm, NetCDF, OpenlabForm, PerkinElmerForm, PictForm, Plain, PointForm, QTForm, TextForm, TiffForm, UsgsDemForm, Vis5DAdaptedForm, Vis5DForm, Vis5DTopoForm, VisADCachingForm, VisADForm, VisADSerialForm, ZeissForm, ZVIForm
public interface FormFileInformerFormFileInformer is the VisAD interface for checking system- and file-specific data from a file Form.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
isThisType
boolean isThisType(java.lang.String name)
Check to see if the file name might be right for this form.- Parameters:
name- name of the file- Returns:
- true if the name is right for this type of form
-
isThisType
boolean isThisType(byte[] block)
Check to see if the block contains the magic number for this form.- Parameters:
block- block of bytes from file- Returns:
- true if the magic number is right
-
getDefaultSuffixes
java.lang.String[] getDefaultSuffixes()
Get default suffixes for files/URLs handeled by this form.- Returns:
- array of suffixes
-
-
DMelt 3.0 © DataMelt by jWork.ORG