Message formatting and parsing utilities for EQXML, Quakeml 1.1, Quakeml 1.2, and Quakeml RT 1.2.
- Source code is in the
src/main/java
directory. - Tests are in the
src/test/java
directory. - Generated source code is in the
src/generated/java
directory. - Schemas and sample files are in the
etc
directory.
- gov.usgs.earthquake.event.Converter has methods for converting most formats.
- gov.usgs.earthquake.quakeml.FileToQuakemlConverter is an interface for parsers to create Quakeml from other formats.
This java library is built using a Gradle build script (build.gradle).
To build this project, you need: - JDK 1.8+ ( http://openjdk.java.net/ ) - Gradle ( https://gradle.org/ )
Run gradle build
to compile the library and generated documentation.
Files are output to the build
directory.
JAXB generated classes are versioned in this repository,
and can be (re)generated by running gradle generate
.