Package cds.moc.misc
Class MocLint
java.lang.Object
cds.moc.misc.MocLint
MOC lint - verifying the IVOA 2.0, 1.1 and 1.0 MOC recommendation compatibility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheck(InputStream in) Check the IVOA 2.0 MOC recommendation compatibilitystatic booleanCheck the IVOA 2.0, 1.1 and 1.0 MOC recommendation compatibilitystatic intcheck(StringBuilder out, InputStream in) Check the IVOA 2.0, 1.1 and 1.0 MOC recommendation compatibilitystatic intcheckAscii(StringBuilder out, InputStream in) Check the IVOA 2.0, 1.1 MOC recommendation compatibilitystatic intcheckFits(StringBuilder out, InputStream in) Check the IVOA 2.0, 1.1 or 1.0 MOC recommendation compatibilitystatic void
-
Constructor Details
-
MocLint
public MocLint()
-
-
Method Details
-
main
-
check
Check the IVOA 2.0, 1.1 and 1.0 MOC recommendation compatibility- Parameters:
filename- name of the file containing the MOC in FITS container- Returns:
- true if MOC is compatible
- Throws:
Exception
-
check
Check the IVOA 2.0 MOC recommendation compatibility- Parameters:
in- stream containing the MOC in FITS or ASCII container- Returns:
- true if MOC is compatible
-
check
Check the IVOA 2.0, 1.1 and 1.0 MOC recommendation compatibility- Parameters:
in- stream containing the MOC in FITS or ASCII container- Returns:
- 1-ok, 0-error, -1-warning
-
checkFits
Check the IVOA 2.0, 1.1 or 1.0 MOC recommendation compatibility- Parameters:
out- Trace of the validatorin- stream containing the MOC in FITS container- Returns:
- 1-ok, 0-error, -1-warning
-
checkAscii
Check the IVOA 2.0, 1.1 MOC recommendation compatibility- Parameters:
out- Trace of the validatorin- stream containing the MOC in ASCII container- Returns:
- 1-ok, 0-error, -1-warning
-