This class comprises static utility functions used throughout the FITS classes.
The following tables list the members exposed by FitsUtil.
Public Constructors
Public Methods
Name | Description | |
---|---|---|
![]() ![]() |
AddPadding | Total size of blocked FITS element |
![]() ![]() |
ByteArrayToStrings | Convert bytes to Strings |
![]() |
Equals | Determines whether the specified |
![]() ![]() |
FindOffset | Find out where we are in a random access file |
![]() |
GetHashCode | Serves as a hash function for a particular type. |
![]() |
GetType | Gets the |
![]() ![]() |
GetURLStream | Get a stream to a URL accommodating possible redirections. Note that if a redirection request points to a different protocol than the original request, then the redirection is not handled automatically. |
![]() ![]() |
IsCompressed | Check if a file seems to be compressed. |
![]() ![]() |
MaxLength | Get the maximum length of a String in a String array. |
![]() ![]() |
Padding | Overloaded. How many bytes are needed to fill the last 2880 block? |
![]() ![]() |
Reposition | Reposition a random access stream to a requested offset |
![]() ![]() |
StringsToByteArray | Copy an array of Strings to bytes. |
![]() |
ToString | Returns a |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | Allows an |
![]() |
MemberwiseClone | Creates a shallow copy of the current |