Package nom.tam.fits
Class HeaderCardCountingArrayDataInput
java.lang.Object
nom.tam.fits.HeaderCardCountingArrayDataInput
Deprecated.
A helper class to keep track of the number of physical cards for a logical card.
- Author:
- Richard van Nieuwenhoven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cardRead()
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.protected int
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.protected ArrayDataInput
in()
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.void
mark()
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.boolean
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.void
reset()
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.
-
Constructor Details
-
HeaderCardCountingArrayDataInput
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.Creates a new instance of this class for counting the number of 80-character header records.- Parameters:
input
- The input from which we read the header cards.
-
-
Method Details
-
getPhysicalCardsRead
protected int getPhysicalCardsRead()Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.- Returns:
- the number of cards realy read form the stream
-
in
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.- Returns:
- the stream to read the cards from
-
cardRead
public void cardRead()Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.report a readed card. -
markSupported
public boolean markSupported()Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.indicate whether mark/reset functionality is supported- Returns:
- true iff mark/reset will work
-
mark
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.mark the current position in the stream.- Throws:
IOException
- if the underlaying stream does not allow the mark.
-
reset
Deprecated.(for internal use) Visibility will be reduced to the package level, or will be removed entirely.reset the stream th the last marked prosition.- Throws:
IOException
- if the underlaying stream does not allow the mark.
-
HeaderCard
. Perhaps remove in a future major release.