gov.nasa.gsfc.drl.rtstps.core.xstps.pds
Class FillList

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.xstps.pds.FillList

 class FillList
extends java.lang.Object

This class looks for packets with fill data and collects pertinent information about them for Sorcerer.


Nested Class Summary
(package private)  class FillList.Item
          This class contains information about one packet with fill.
 
Field Summary
private  java.util.LinkedList<FillList.Item> flist
           
private  long totalBytes
           
 
Constructor Summary
FillList()
           
 
Method Summary
(package private)  boolean check(Packet packet, long datasetOffset)
          Check a packet for fill.
(package private)  int getLength()
          Get the number of packets with fill in this fill list.
(package private)  long getTotalBytes()
          Get the total number of fill bytes.
(package private)  void printCS(java.io.DataOutput out)
          Print fill-related information to the construction record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flist

private java.util.LinkedList<FillList.Item> flist

totalBytes

private long totalBytes
Constructor Detail

FillList

FillList()
Method Detail

check

boolean check(Packet packet,
              long datasetOffset)
Check a packet for fill.

Parameters:
packet - the packet to be checked
datasetOffset - A byte offset into the current dataset for this packet
Returns:
true if this packet has fill

getLength

final int getLength()
Get the number of packets with fill in this fill list.


getTotalBytes

final long getTotalBytes()
Get the total number of fill bytes.


printCS

void printCS(java.io.DataOutput out)
       throws java.io.IOException
Print fill-related information to the construction record.

Throws:
java.io.IOException