All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.hdf.message.HDFAnalyse

java.lang.Object
   |
   +----ncsa.hdf.message.HDFAnalyse

public class HDFAnalyse
extends Object

Variable Index

 o hdf

Constructor Index

 o HDFAnalyse()

Method Index

 o ANgetobjectdesc(int, int)
get the object desc from HDF file
 o ANgetobjectlabel(int, int)
get object label from HDF file
 o ANhasFileAnn(int)
Does the HDF file have file label or file description.
 o getGRObject(HDFObjectNode, int, int, int, Queue)
put the GR object into HDF queue
 o getGRObject(int, Queue)
put the GR object into HDF queue
 o getHdfObject(String, Queue)
analyse the HDF file then put it into Queue
 o getR24Object(String, Queue)
put the 24-bit raster image object into HDF queue
 o getR8Object(String)
return the queue to store the HDF object mode
 o getR8Object(String, Queue)
put the 8-bit raster image object into HDF queue
 o getSDSObject(HDFObjectNode, String, int, int, Queue)
put the SDS object into HDF queue
 o getSDSObject(String, Queue)
put the SDS object into HDF queue
 o getVdataObject(int, Queue)
put the Vdata object into HDF queue
 o getVgroupObject(int, Queue)
put the Vgroup object into HDF queue
 o insertVg(HDFObjectNode, Queue, int, int[], int[], int, int)
insert the HDF object belongs to specified HDF Vgroup

Variables

 o hdf
 public HDFLibrary hdf

Constructors

 o HDFAnalyse
 public HDFAnalyse()

Methods

 o getHdfObject
 public void getHdfObject(String hdffile,
                          Queue hdfObjQueue)
analyse the HDF file then put it into Queue

Parameters:
hdffile - the HDF file name
hdfQueue - the queue to hold the HDF objects
 o getR8Object
 public void getR8Object(String filename,
                         Queue objQueue) throws HDFException
put the 8-bit raster image object into HDF queue

Parameters:
filenae - HDF file name
objQueue - the queue to store the HDF object node
See Also:
HDFObjectNode
 o getR24Object
 public void getR24Object(String filename,
                          Queue objQueue) throws HDFException
put the 24-bit raster image object into HDF queue

Parameters:
filenae - HDF file name
objQueue - the queue to store the HDF object node
See Also:
HDFObjectNode
 o getVgroupObject
 public void getVgroupObject(int fid,
                             Queue objQueue) throws HDFException
put the Vgroup object into HDF queue

Parameters:
fid - HDF file identifier by Hopen
objQueue - the queue to store the HDF object node
See Also:
HDFObjectNode
 o getVdataObject
 public void getVdataObject(int fid,
                            Queue objQueue) throws HDFException
put the Vdata object into HDF queue

Parameters:
fid - HDF file identifier by Hopen
objQueue - the queue to store the HDF object node
See Also:
HDFObjectNode
 o getSDSObject
 public void getSDSObject(String filename,
                          Queue objQueue) throws HDFException
put the SDS object into HDF queue

Parameters:
filename - HDF file name
objQueue - the queue to store the HDF object node
See Also:
HDFObjectNode
 o getGRObject
 public void getGRObject(int fid,
                         Queue objQueue) throws HDFException
put the GR object into HDF queue

Parameters:
fid - HDF file identifier by Hopen
objQueue - the queue to store the HDF object node
See Also:
HDFObjectNode
 o getSDSObject
 public void getSDSObject(HDFObjectNode pnode,
                          String filename,
                          int ref,
                          int level,
                          Queue objQueue) throws HDFException
put the SDS object into HDF queue

Parameters:
pnode - HDF object node
filename - the HDF file name
ref - the reference number of the SDS;
level - the hierachal level
objQueue - the queue to store the HDF object node
See Also:
HDFObjectNode
 o getGRObject
 public void getGRObject(HDFObjectNode pnode,
                         int fid,
                         int ref,
                         int level,
                         Queue objQueue) throws HDFException
put the GR object into HDF queue

Parameters:
pnode - HDF object node
fid - the HDF file identifier
ref - the reference number of the GR;
level - the hierachal level
objQueue - the queue to store the HDF object node
See Also:
HDFObjectNode
 o getR8Object
 public Queue getR8Object(String filename) throws HDFException
return the queue to store the HDF object mode

 o insertVg
 public void insertVg(HDFObjectNode pnode,
                      Queue subqueue,
                      int fid,
                      int tags[],
                      int refs[],
                      int npairs,
                      int level) throws HDFException
insert the HDF object belongs to specified HDF Vgroup

Parameters:
pnode - the HDF object node.
subQueue - the queue to store the HDF object belongs to Vgroup
fid - the HDF file id.
tags - the tags value
refs - the reference number
npairs - the number of objects belongs to specified Vgroup
level - the level in the HDF Object
 o ANhasFileAnn
 public boolean ANhasFileAnn(int fid) throws HDFException
Does the HDF file have file label or file description.

Returns:
true if the HDF file contains file label or desc. , false otherwise
 o ANgetobjectlabel
 public String ANgetobjectlabel(int tag,
                                int ref) throws HDFException
get object label from HDF file

Parameters:
tag - the tag of the HDF object.
ref - the reference number
Returns:
the string look like text of the object label
 o ANgetobjectdesc
 public String ANgetobjectdesc(int tag,
                               int ref) throws HDFException
get the object desc from HDF file

Parameters:
tag - the tag of the HDF object.
ref - the reference number
Returns:
the string look like text of the object desc

All Packages  Class Hierarchy  This Package  Previous  Next  Index