Package cds.moc.examples
Class MocLint
java.lang.Object
cds.moc.examples.MocLint
MOC check - verifying the IVOA 1.0 MOC recommendation compatibility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
check
(InputStream in) Check the IVOA 1.0 MOC recommendation compatibilitystatic boolean
Check the IVOA 1.0 MOC recommendation compatibilitystatic int
check
(StringBuilder out, InputStream in) Check the IVOA 1.0 MOC recommendation compatibilitystatic void
-
Constructor Details
-
MocLint
public MocLint()
-
-
Method Details
-
check
Check the IVOA 1.0 MOC recommendation compatibility- Parameters:
in
- stream containing the MOC in FITS container- Returns:
- true if MOC is compatible
-
check
Check the IVOA 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
-
check
Check the IVOA 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
-
main
-