public class N5CosemMetadataParser extends Object implements N5MetadataParser<N5CosemMetadata>, N5MetadataWriter<N5CosemMetadata>
N5MetadataParser for N5CosemMetadata.| Constructor and Description |
|---|
N5CosemMetadataParser() |
| Modifier and Type | Method and Description |
|---|---|
Optional<N5CosemMetadata> |
parseMetadata(org.janelia.saalfeldlab.n5.N5Reader n5,
N5TreeNode node)
Called by the
N5DatasetDiscoverer while discovering the N5 tree and filling the metadata for datasets or groups. |
void |
writeMetadata(N5CosemMetadata t,
org.janelia.saalfeldlab.n5.N5Writer n5,
String group)
Writes metadata to a dataset or group in an N5 container.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, parseDatasetAttributes, parseMetadataandThenpublic Optional<N5CosemMetadata> parseMetadata(org.janelia.saalfeldlab.n5.N5Reader n5, N5TreeNode node)
N5MetadataParserN5DatasetDiscoverer while discovering the N5 tree and filling the metadata for datasets or groups.
The metadata parsing is done in the bottom-up fashion, so the children of the given node have already been processed and should already contain valid metadata (if any).
parseMetadata in interface N5MetadataParser<N5CosemMetadata>n5 - the readernode - list of tree nodespublic void writeMetadata(N5CosemMetadata t, org.janelia.saalfeldlab.n5.N5Writer n5, String group) throws Exception
N5MetadataWriterwriteMetadata in interface N5MetadataWriter<N5CosemMetadata>t - metadatan5 - the n5 writergroup - the path relative to the container root of the group or datasetException - the exceptionCopyright © 2021–2026 Saalfeld Lab. All rights reserved.