Clean up Header object
Header object has some features that should be probably cleaned up:
-
why are the MASTER_CLOCK and TIMESCALE static? They are used as is only in Header and have getters
- Also, how will it work if someone wants to produce multiple files?
-
Same thing for pathToExternalResources
-
DEFAULT_ROOT and DEFAULT_RESOURCES seems to be used only in ManeuverSequence, maybe it should be moved there
-
getClock(), getMasterClock(). Maybe only one method should be kept here
-
getStringWriter(). Used only in CzmlFile. I think this method should be removed from CzmlPrimaryObject.
The StringWriter can be set only in CzmlFile