Package healpix.essentials
Class MocStringIO
java.lang.Object
healpix.essentials.MocStringIO
Moc string I/O routines.
- Author:
- Martin Reinecke
- Copyright:
- 2014-2015 Max-Planck-Society
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic MocmocFromString(String in) Parses a string following either the basic ASCII or JSON syntax given in the MOC standard document, and converts it into a MOC.static StringmocToStringASCII(Moc moc) Converts the Moc to its basic ASCII representation as described in the MOC standard document.static StringmocToStringJSON(Moc moc) Converts the Moc to its JSON representation as described in the MOC standard document.
- 
Constructor Details- 
MocStringIOpublic MocStringIO()
 
- 
- 
Method Details- 
mocFromStringParses a string following either the basic ASCII or JSON syntax given in the MOC standard document, and converts it into a MOC. The string need not obey the rules for a well-formed MOC given in the document.
- 
mocToStringASCIIConverts the Moc to its basic ASCII representation as described in the MOC standard document. The result is well-formed.
- 
mocToStringJSONConverts the Moc to its JSON representation as described in the MOC standard document. The result is well-formed.
 
-