public class Header extends Object
Created by mackaiver on 18/11/16.
Modifier and Type | Method and Description |
---|---|
Map<String,Serializable> |
asMapOfSerializables()
This converts this Header into a map of key value pairs of type
|
Optional<ZonedDateTime> |
date()
According to the FITS standard a header can contain a DATE keyword.
|
Optional<String> |
get(String key)
Get the value for the keyword in the header as string if it exists.
|
Optional<Boolean> |
getBoolean(String key)
Get the value for the keyword in the header as float if it exists and the value is parseable as float.
|
Optional<Double> |
getDouble(String key)
Get the value for the keyword in the header as Double if it exists and the value is parseable as double.
|
Optional<Float> |
getFloat(String key)
Get the value for the keyword in the header as float if it exists and the value is parseable as float.
|
Optional<Integer> |
getInt(String key)
Get the value for the keyword in the header as integer if it exists and the value is parseable as int.
|
Optional<Long> |
getLong(String key)
Get the value for the keyword in the header as long if it exists and the value is parseable as long.
|
public Map<String,Serializable> asMapOfSerializables()
public Optional<ZonedDateTime> date()
public Optional<Integer> getInt(String key)
public Optional<Long> getLong(String key)
public Optional<Float> getFloat(String key)
public Optional<Boolean> getBoolean(String key)
public Optional<Double> getDouble(String key)
Copyright © 2019. All rights reserved.