Class CoverageWriter<T>
- java.lang.Object
-
- uk.ac.rdg.resc.edal.covjson.writers.CoverageWriter<T>
-
public class CoverageWriter<T> extends Object
- Author:
- Maik Riechert
-
-
Constructor Summary
Constructors Constructor Description CoverageWriter(StreamingEncoder.MapEncoder<T> encoder, boolean root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(Coverage coverage)
void
write(Coverage coverage, boolean skipParameters)
-
-
-
Constructor Detail
-
CoverageWriter
public CoverageWriter(StreamingEncoder.MapEncoder<T> encoder, boolean root)
- Parameters:
encoder
-root
- If true, then the feature is the root element in the document that is written.
-
-
Method Detail
-
write
public void write(Coverage coverage) throws IOException
- Throws:
IOException
-
write
public void write(Coverage coverage, boolean skipParameters) throws IOException
- Throws:
IOException
-
-