diff --git a/CHANGES.md b/CHANGES.md index fb36a4cd..dfba648d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,16 @@ Please note this project is still in pre-release development. +## v0.4.0 +- Add support for accessing attributes (see [Attribute.java](jhdf/src/main/java/io/jhdf/api/Attribute.java)) +- Add support for scalar datasets +- Add support for empty datasets +- Add support for files with user blocks +- Fix bug where "old" style groups containing soft links could not be opened +- Fix bug reading unsigned numbers from "awkward" buffer sizes +- Lots of minor code cleanup and refactoring +- Improvements to tests and coverage + ## v0.3.2 - Fix bug when fixed size string datasets contain strings of exactly that size. - Fix bug where >1D fixed size datasets could not be read diff --git a/LICENSE b/LICENSE index 8e29d5b5..9369fc6e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 James Mudd +Copyright (c) 2019 James Mudd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/jhdf/build.gradle b/jhdf/build.gradle index 11a60f50..b8581482 100644 --- a/jhdf/build.gradle +++ b/jhdf/build.gradle @@ -16,7 +16,7 @@ plugins { // Varibles group = 'io.jhdf' -version = '0.3.2' +version = '0.4.0' sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/jhdf/src/main/java/io/jhdf/AbstractNode.java b/jhdf/src/main/java/io/jhdf/AbstractNode.java index ea5a5ed8..412d7f87 100644 --- a/jhdf/src/main/java/io/jhdf/AbstractNode.java +++ b/jhdf/src/main/java/io/jhdf/AbstractNode.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static java.util.stream.Collectors.toMap; @@ -159,4 +168,4 @@ public Map getAttributes() { public Attribute getAttribute(String name) { return getAttributes().get(name); } -} \ No newline at end of file +} diff --git a/jhdf/src/main/java/io/jhdf/AttributeImpl.java b/jhdf/src/main/java/io/jhdf/AttributeImpl.java index 2b99604d..bf27de97 100644 --- a/jhdf/src/main/java/io/jhdf/AttributeImpl.java +++ b/jhdf/src/main/java/io/jhdf/AttributeImpl.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.apache.commons.lang3.ClassUtils.primitiveToWrapper; diff --git a/jhdf/src/main/java/io/jhdf/Constants.java b/jhdf/src/main/java/io/jhdf/Constants.java index 8ecec642..0a39e14f 100644 --- a/jhdf/src/main/java/io/jhdf/Constants.java +++ b/jhdf/src/main/java/io/jhdf/Constants.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; public final class Constants { diff --git a/jhdf/src/main/java/io/jhdf/FractalHeap.java b/jhdf/src/main/java/io/jhdf/FractalHeap.java index 3123c070..b9ad1386 100644 --- a/jhdf/src/main/java/io/jhdf/FractalHeap.java +++ b/jhdf/src/main/java/io/jhdf/FractalHeap.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static io.jhdf.Constants.UNDEFINED_ADDRESS; diff --git a/jhdf/src/main/java/io/jhdf/GlobalHeap.java b/jhdf/src/main/java/io/jhdf/GlobalHeap.java index dce97c8b..fc802e1a 100644 --- a/jhdf/src/main/java/io/jhdf/GlobalHeap.java +++ b/jhdf/src/main/java/io/jhdf/GlobalHeap.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static io.jhdf.Utils.createSubBuffer; diff --git a/jhdf/src/main/java/io/jhdf/GroupImpl.java b/jhdf/src/main/java/io/jhdf/GroupImpl.java index bd689348..c939e917 100644 --- a/jhdf/src/main/java/io/jhdf/GroupImpl.java +++ b/jhdf/src/main/java/io/jhdf/GroupImpl.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/GroupSymbolTableNode.java b/jhdf/src/main/java/io/jhdf/GroupSymbolTableNode.java index 86cb93bb..06ef6d8d 100644 --- a/jhdf/src/main/java/io/jhdf/GroupSymbolTableNode.java +++ b/jhdf/src/main/java/io/jhdf/GroupSymbolTableNode.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static java.nio.ByteOrder.LITTLE_ENDIAN; diff --git a/jhdf/src/main/java/io/jhdf/HdfFile.java b/jhdf/src/main/java/io/jhdf/HdfFile.java index 9e8972f0..2244907a 100644 --- a/jhdf/src/main/java/io/jhdf/HdfFile.java +++ b/jhdf/src/main/java/io/jhdf/HdfFile.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import java.io.File; diff --git a/jhdf/src/main/java/io/jhdf/HdfFileChannel.java b/jhdf/src/main/java/io/jhdf/HdfFileChannel.java index d765973d..498e018f 100644 --- a/jhdf/src/main/java/io/jhdf/HdfFileChannel.java +++ b/jhdf/src/main/java/io/jhdf/HdfFileChannel.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static java.nio.ByteOrder.LITTLE_ENDIAN; diff --git a/jhdf/src/main/java/io/jhdf/LocalHeap.java b/jhdf/src/main/java/io/jhdf/LocalHeap.java index ceb7d4cd..fac4c562 100644 --- a/jhdf/src/main/java/io/jhdf/LocalHeap.java +++ b/jhdf/src/main/java/io/jhdf/LocalHeap.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/ObjectHeader.java b/jhdf/src/main/java/io/jhdf/ObjectHeader.java index 1c662178..3a4b4100 100644 --- a/jhdf/src/main/java/io/jhdf/ObjectHeader.java +++ b/jhdf/src/main/java/io/jhdf/ObjectHeader.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static io.jhdf.Utils.readBytesAsUnsignedInt; diff --git a/jhdf/src/main/java/io/jhdf/Superblock.java b/jhdf/src/main/java/io/jhdf/Superblock.java index 532e6613..70ce9865 100644 --- a/jhdf/src/main/java/io/jhdf/Superblock.java +++ b/jhdf/src/main/java/io/jhdf/Superblock.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static io.jhdf.Utils.toHex; diff --git a/jhdf/src/main/java/io/jhdf/SymbolTableEntry.java b/jhdf/src/main/java/io/jhdf/SymbolTableEntry.java index 25f2bd41..40d0c69d 100644 --- a/jhdf/src/main/java/io/jhdf/SymbolTableEntry.java +++ b/jhdf/src/main/java/io/jhdf/SymbolTableEntry.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static io.jhdf.Utils.toHex; diff --git a/jhdf/src/main/java/io/jhdf/Utils.java b/jhdf/src/main/java/io/jhdf/Utils.java index 5bf79e6f..34ce5470 100644 --- a/jhdf/src/main/java/io/jhdf/Utils.java +++ b/jhdf/src/main/java/io/jhdf/Utils.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static java.nio.ByteOrder.LITTLE_ENDIAN; diff --git a/jhdf/src/main/java/io/jhdf/api/Attribute.java b/jhdf/src/main/java/io/jhdf/api/Attribute.java index 438e6587..a2c9ae90 100644 --- a/jhdf/src/main/java/io/jhdf/api/Attribute.java +++ b/jhdf/src/main/java/io/jhdf/api/Attribute.java @@ -1,5 +1,29 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ +/* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see LICENSE file + */ package io.jhdf.api; +/** + * Interface for HDF5 attributes. Attributes can be attached to {@link Group}s + * or {@link Dataset}s. They contain metadata about that object. + * + * @author James Mudd + */ public interface Attribute { /** diff --git a/jhdf/src/main/java/io/jhdf/api/Dataset.java b/jhdf/src/main/java/io/jhdf/api/Dataset.java index 24e1cce0..cf727b6a 100644 --- a/jhdf/src/main/java/io/jhdf/api/Dataset.java +++ b/jhdf/src/main/java/io/jhdf/api/Dataset.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.api; import io.jhdf.object.message.DataLayout; @@ -86,4 +95,4 @@ public interface Dataset extends Node { */ Class getJavaType(); -} \ No newline at end of file +} diff --git a/jhdf/src/main/java/io/jhdf/api/Group.java b/jhdf/src/main/java/io/jhdf/api/Group.java index 41bdd0a3..755e0670 100644 --- a/jhdf/src/main/java/io/jhdf/api/Group.java +++ b/jhdf/src/main/java/io/jhdf/api/Group.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.api; import java.util.Map; diff --git a/jhdf/src/main/java/io/jhdf/api/Link.java b/jhdf/src/main/java/io/jhdf/api/Link.java index 3ab70e11..28be3532 100644 --- a/jhdf/src/main/java/io/jhdf/api/Link.java +++ b/jhdf/src/main/java/io/jhdf/api/Link.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.api; public interface Link extends Node { diff --git a/jhdf/src/main/java/io/jhdf/api/Node.java b/jhdf/src/main/java/io/jhdf/api/Node.java index 89d6cb56..889cdd70 100644 --- a/jhdf/src/main/java/io/jhdf/api/Node.java +++ b/jhdf/src/main/java/io/jhdf/api/Node.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.api; import java.io.File; diff --git a/jhdf/src/main/java/io/jhdf/api/NodeType.java b/jhdf/src/main/java/io/jhdf/api/NodeType.java index a32ebef2..7d3045e4 100644 --- a/jhdf/src/main/java/io/jhdf/api/NodeType.java +++ b/jhdf/src/main/java/io/jhdf/api/NodeType.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.api; public enum NodeType { diff --git a/jhdf/src/main/java/io/jhdf/api/package-info.java b/jhdf/src/main/java/io/jhdf/api/package-info.java index e8afb7c1..2eb370e4 100644 --- a/jhdf/src/main/java/io/jhdf/api/package-info.java +++ b/jhdf/src/main/java/io/jhdf/api/package-info.java @@ -1,6 +1,15 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * The API classes for accessing HDF5 files using the jHDF library. * * @author James Mudd */ -package io.jhdf.api; \ No newline at end of file +package io.jhdf.api; diff --git a/jhdf/src/main/java/io/jhdf/btree/BTreeV1.java b/jhdf/src/main/java/io/jhdf/btree/BTreeV1.java index ba49c5a3..0cbd3f28 100644 --- a/jhdf/src/main/java/io/jhdf/btree/BTreeV1.java +++ b/jhdf/src/main/java/io/jhdf/btree/BTreeV1.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree; import java.nio.ByteBuffer; @@ -116,4 +125,4 @@ public long getAddress() { public abstract List getChildAddresses(); -} \ No newline at end of file +} diff --git a/jhdf/src/main/java/io/jhdf/btree/BTreeV1Data.java b/jhdf/src/main/java/io/jhdf/btree/BTreeV1Data.java index d8598e6f..ff07573c 100644 --- a/jhdf/src/main/java/io/jhdf/btree/BTreeV1Data.java +++ b/jhdf/src/main/java/io/jhdf/btree/BTreeV1Data.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree; import static java.util.stream.Collectors.toList; @@ -165,4 +174,4 @@ public List getChildAddresses() { return childAddresses; } } -} \ No newline at end of file +} diff --git a/jhdf/src/main/java/io/jhdf/btree/BTreeV1Group.java b/jhdf/src/main/java/io/jhdf/btree/BTreeV1Group.java index 7b263a2f..1465f956 100644 --- a/jhdf/src/main/java/io/jhdf/btree/BTreeV1Group.java +++ b/jhdf/src/main/java/io/jhdf/btree/BTreeV1Group.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/btree/BTreeV2.java b/jhdf/src/main/java/io/jhdf/btree/BTreeV2.java index d20bfac0..f83028ac 100644 --- a/jhdf/src/main/java/io/jhdf/btree/BTreeV2.java +++ b/jhdf/src/main/java/io/jhdf/btree/BTreeV2.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree; import static io.jhdf.Utils.readBytesAsUnsignedInt; @@ -155,4 +164,4 @@ public String toString() { return "BTreeNodeV2 [address=" + address + ", nodeType=" + nodeType + "]"; } -} \ No newline at end of file +} diff --git a/jhdf/src/main/java/io/jhdf/btree/package-info.java b/jhdf/src/main/java/io/jhdf/btree/package-info.java index 02f87200..d38937e2 100644 --- a/jhdf/src/main/java/io/jhdf/btree/package-info.java +++ b/jhdf/src/main/java/io/jhdf/btree/package-info.java @@ -1,6 +1,15 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * B-tree classes * * @author James Mudd */ -package io.jhdf.btree; \ No newline at end of file +package io.jhdf.btree; diff --git a/jhdf/src/main/java/io/jhdf/btree/record/AttributeNameForIndexedAttributesRecord.java b/jhdf/src/main/java/io/jhdf/btree/record/AttributeNameForIndexedAttributesRecord.java index 6de0f463..71b6a594 100644 --- a/jhdf/src/main/java/io/jhdf/btree/record/AttributeNameForIndexedAttributesRecord.java +++ b/jhdf/src/main/java/io/jhdf/btree/record/AttributeNameForIndexedAttributesRecord.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree.record; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/btree/record/BTreeRecord.java b/jhdf/src/main/java/io/jhdf/btree/record/BTreeRecord.java index 02ebdd04..6841f5ec 100644 --- a/jhdf/src/main/java/io/jhdf/btree/record/BTreeRecord.java +++ b/jhdf/src/main/java/io/jhdf/btree/record/BTreeRecord.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree.record; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/btree/record/LinkNameForIndexedGroupRecord.java b/jhdf/src/main/java/io/jhdf/btree/record/LinkNameForIndexedGroupRecord.java index 455bd6f8..5e0e3a11 100644 --- a/jhdf/src/main/java/io/jhdf/btree/record/LinkNameForIndexedGroupRecord.java +++ b/jhdf/src/main/java/io/jhdf/btree/record/LinkNameForIndexedGroupRecord.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree.record; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/btree/record/package-info.java b/jhdf/src/main/java/io/jhdf/btree/record/package-info.java index 0b08be2b..8556a8d5 100644 --- a/jhdf/src/main/java/io/jhdf/btree/record/package-info.java +++ b/jhdf/src/main/java/io/jhdf/btree/record/package-info.java @@ -1,6 +1,15 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * B-Tree record classes * * @author James Mudd */ -package io.jhdf.btree.record; \ No newline at end of file +package io.jhdf.btree.record; diff --git a/jhdf/src/main/java/io/jhdf/dataset/ChunkedDatasetV3.java b/jhdf/src/main/java/io/jhdf/dataset/ChunkedDatasetV3.java index 437dfafe..22b883bb 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/ChunkedDatasetV3.java +++ b/jhdf/src/main/java/io/jhdf/dataset/ChunkedDatasetV3.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static java.lang.Math.toIntExact; diff --git a/jhdf/src/main/java/io/jhdf/dataset/CompactDataset.java b/jhdf/src/main/java/io/jhdf/dataset/CompactDataset.java index 34904875..e2bd06b2 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/CompactDataset.java +++ b/jhdf/src/main/java/io/jhdf/dataset/CompactDataset.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/dataset/ContiguousDataset.java b/jhdf/src/main/java/io/jhdf/dataset/ContiguousDataset.java index f69a56cc..1daa0283 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/ContiguousDataset.java +++ b/jhdf/src/main/java/io/jhdf/dataset/ContiguousDataset.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static io.jhdf.Constants.UNDEFINED_ADDRESS; diff --git a/jhdf/src/main/java/io/jhdf/dataset/DatasetBase.java b/jhdf/src/main/java/io/jhdf/dataset/DatasetBase.java index 4ca52e27..f8b4e5ba 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/DatasetBase.java +++ b/jhdf/src/main/java/io/jhdf/dataset/DatasetBase.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static java.nio.ByteOrder.LITTLE_ENDIAN; diff --git a/jhdf/src/main/java/io/jhdf/dataset/DatasetLoader.java b/jhdf/src/main/java/io/jhdf/dataset/DatasetLoader.java index c6f77288..3321cf48 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/DatasetLoader.java +++ b/jhdf/src/main/java/io/jhdf/dataset/DatasetLoader.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import io.jhdf.HdfFileChannel; diff --git a/jhdf/src/main/java/io/jhdf/dataset/DatasetReader.java b/jhdf/src/main/java/io/jhdf/dataset/DatasetReader.java index a7a5229a..2cf4a3d0 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/DatasetReader.java +++ b/jhdf/src/main/java/io/jhdf/dataset/DatasetReader.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static java.nio.charset.StandardCharsets.US_ASCII; diff --git a/jhdf/src/main/java/io/jhdf/dataset/GlobalHeapId.java b/jhdf/src/main/java/io/jhdf/dataset/GlobalHeapId.java index 4d78d381..c5f5cd32 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/GlobalHeapId.java +++ b/jhdf/src/main/java/io/jhdf/dataset/GlobalHeapId.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; public class GlobalHeapId { diff --git a/jhdf/src/main/java/io/jhdf/dataset/VariableLengthDatasetReader.java b/jhdf/src/main/java/io/jhdf/dataset/VariableLengthDatasetReader.java index 904c7ecb..7cf337c0 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/VariableLengthDatasetReader.java +++ b/jhdf/src/main/java/io/jhdf/dataset/VariableLengthDatasetReader.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import java.lang.reflect.Array; diff --git a/jhdf/src/main/java/io/jhdf/dataset/package-info.java b/jhdf/src/main/java/io/jhdf/dataset/package-info.java index 29d3131e..1adde10f 100644 --- a/jhdf/src/main/java/io/jhdf/dataset/package-info.java +++ b/jhdf/src/main/java/io/jhdf/dataset/package-info.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * Dataset classes. The implementations of {@link io.jhdf.api.Dataset} and * helper classes. @@ -6,4 +15,4 @@ * * @author James Mudd */ -package io.jhdf.dataset; \ No newline at end of file +package io.jhdf.dataset; diff --git a/jhdf/src/main/java/io/jhdf/examples/PrintTree.java b/jhdf/src/main/java/io/jhdf/examples/PrintTree.java index c554e9f8..b1de9850 100644 --- a/jhdf/src/main/java/io/jhdf/examples/PrintTree.java +++ b/jhdf/src/main/java/io/jhdf/examples/PrintTree.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.examples; import static java.util.stream.Collectors.joining; diff --git a/jhdf/src/main/java/io/jhdf/examples/ReadDataset.java b/jhdf/src/main/java/io/jhdf/examples/ReadDataset.java index a16d48c9..7c48ffa7 100644 --- a/jhdf/src/main/java/io/jhdf/examples/ReadDataset.java +++ b/jhdf/src/main/java/io/jhdf/examples/ReadDataset.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.examples; import java.io.File; diff --git a/jhdf/src/main/java/io/jhdf/examples/package-info.java b/jhdf/src/main/java/io/jhdf/examples/package-info.java index ef579492..84b90db4 100644 --- a/jhdf/src/main/java/io/jhdf/examples/package-info.java +++ b/jhdf/src/main/java/io/jhdf/examples/package-info.java @@ -1,7 +1,16 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * Examples for using the jHDF library. This package is not included in the * library jars. * * @author James Mudd */ -package io.jhdf.examples; \ No newline at end of file +package io.jhdf.examples; diff --git a/jhdf/src/main/java/io/jhdf/exceptions/HdfException.java b/jhdf/src/main/java/io/jhdf/exceptions/HdfException.java index 1f930c46..158e6048 100644 --- a/jhdf/src/main/java/io/jhdf/exceptions/HdfException.java +++ b/jhdf/src/main/java/io/jhdf/exceptions/HdfException.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.exceptions; /** diff --git a/jhdf/src/main/java/io/jhdf/exceptions/HdfInvalidPathException.java b/jhdf/src/main/java/io/jhdf/exceptions/HdfInvalidPathException.java index 9c46dc50..b8d80e5b 100644 --- a/jhdf/src/main/java/io/jhdf/exceptions/HdfInvalidPathException.java +++ b/jhdf/src/main/java/io/jhdf/exceptions/HdfInvalidPathException.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.exceptions; import java.io.File; diff --git a/jhdf/src/main/java/io/jhdf/exceptions/HdfTypeException.java b/jhdf/src/main/java/io/jhdf/exceptions/HdfTypeException.java index d91d1150..a73d1ca7 100644 --- a/jhdf/src/main/java/io/jhdf/exceptions/HdfTypeException.java +++ b/jhdf/src/main/java/io/jhdf/exceptions/HdfTypeException.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.exceptions; public class HdfTypeException extends HdfException { diff --git a/jhdf/src/main/java/io/jhdf/exceptions/UnsupportedHdfException.java b/jhdf/src/main/java/io/jhdf/exceptions/UnsupportedHdfException.java index 7ccecb47..18cab92f 100644 --- a/jhdf/src/main/java/io/jhdf/exceptions/UnsupportedHdfException.java +++ b/jhdf/src/main/java/io/jhdf/exceptions/UnsupportedHdfException.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.exceptions; public class UnsupportedHdfException extends HdfException { diff --git a/jhdf/src/main/java/io/jhdf/exceptions/package-info.java b/jhdf/src/main/java/io/jhdf/exceptions/package-info.java index b5b6a8b7..5515e27f 100644 --- a/jhdf/src/main/java/io/jhdf/exceptions/package-info.java +++ b/jhdf/src/main/java/io/jhdf/exceptions/package-info.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * Exceptions thrown by the jHDF library. * @@ -7,4 +16,4 @@ * * @author James Mudd */ -package io.jhdf.exceptions; \ No newline at end of file +package io.jhdf.exceptions; diff --git a/jhdf/src/main/java/io/jhdf/filter/FilterManager.java b/jhdf/src/main/java/io/jhdf/filter/FilterManager.java index aae8ff47..7dc5074b 100644 --- a/jhdf/src/main/java/io/jhdf/filter/FilterManager.java +++ b/jhdf/src/main/java/io/jhdf/filter/FilterManager.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.filter; import java.io.IOException; diff --git a/jhdf/src/main/java/io/jhdf/filter/GzipPipelineFilter.java b/jhdf/src/main/java/io/jhdf/filter/GzipPipelineFilter.java index daaae371..8e2b5d3a 100644 --- a/jhdf/src/main/java/io/jhdf/filter/GzipPipelineFilter.java +++ b/jhdf/src/main/java/io/jhdf/filter/GzipPipelineFilter.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.filter; import java.io.IOException; diff --git a/jhdf/src/main/java/io/jhdf/filter/PipelineFilter.java b/jhdf/src/main/java/io/jhdf/filter/PipelineFilter.java index 7b30997f..b9999ce4 100644 --- a/jhdf/src/main/java/io/jhdf/filter/PipelineFilter.java +++ b/jhdf/src/main/java/io/jhdf/filter/PipelineFilter.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.filter; import java.io.IOException; diff --git a/jhdf/src/main/java/io/jhdf/filter/package-info.java b/jhdf/src/main/java/io/jhdf/filter/package-info.java index a9f49157..89e95840 100644 --- a/jhdf/src/main/java/io/jhdf/filter/package-info.java +++ b/jhdf/src/main/java/io/jhdf/filter/package-info.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * Support for HDF5 filters used when accessing chunked datasets. * @@ -5,4 +14,4 @@ * * @author James Mudd */ -package io.jhdf.filter; \ No newline at end of file +package io.jhdf.filter; diff --git a/jhdf/src/main/java/io/jhdf/links/AbstractLink.java b/jhdf/src/main/java/io/jhdf/links/AbstractLink.java index 795d984a..13c62822 100644 --- a/jhdf/src/main/java/io/jhdf/links/AbstractLink.java +++ b/jhdf/src/main/java/io/jhdf/links/AbstractLink.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.links; import java.io.File; @@ -78,4 +87,4 @@ public long getAddress() { return getTarget().getAddress(); } -} \ No newline at end of file +} diff --git a/jhdf/src/main/java/io/jhdf/links/ExternalLink.java b/jhdf/src/main/java/io/jhdf/links/ExternalLink.java index 44f6c1ff..97a198bc 100644 --- a/jhdf/src/main/java/io/jhdf/links/ExternalLink.java +++ b/jhdf/src/main/java/io/jhdf/links/ExternalLink.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.links; import java.io.File; diff --git a/jhdf/src/main/java/io/jhdf/links/SoftLink.java b/jhdf/src/main/java/io/jhdf/links/SoftLink.java index 4157fb7b..9e178928 100644 --- a/jhdf/src/main/java/io/jhdf/links/SoftLink.java +++ b/jhdf/src/main/java/io/jhdf/links/SoftLink.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.links; import org.apache.commons.lang3.concurrent.ConcurrentException; diff --git a/jhdf/src/main/java/io/jhdf/links/package-info.java b/jhdf/src/main/java/io/jhdf/links/package-info.java index a4eb8e0b..42483850 100644 --- a/jhdf/src/main/java/io/jhdf/links/package-info.java +++ b/jhdf/src/main/java/io/jhdf/links/package-info.java @@ -1,6 +1,15 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * Classes implementing {@link io.jhdf.api.Link}. * * @author James Mudd */ -package io.jhdf.links; \ No newline at end of file +package io.jhdf.links; diff --git a/jhdf/src/main/java/io/jhdf/object/datatype/DataType.java b/jhdf/src/main/java/io/jhdf/object/datatype/DataType.java index 194810ca..fe586ab7 100644 --- a/jhdf/src/main/java/io/jhdf/object/datatype/DataType.java +++ b/jhdf/src/main/java/io/jhdf/object/datatype/DataType.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.datatype; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/datatype/FixedPoint.java b/jhdf/src/main/java/io/jhdf/object/datatype/FixedPoint.java index 23034b69..2121bf39 100644 --- a/jhdf/src/main/java/io/jhdf/object/datatype/FixedPoint.java +++ b/jhdf/src/main/java/io/jhdf/object/datatype/FixedPoint.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.datatype; import java.math.BigInteger; @@ -87,4 +96,4 @@ public Class getJavaType() { } } -} \ No newline at end of file +} diff --git a/jhdf/src/main/java/io/jhdf/object/datatype/FloatingPoint.java b/jhdf/src/main/java/io/jhdf/object/datatype/FloatingPoint.java index fc9ab67c..43b0cd4b 100644 --- a/jhdf/src/main/java/io/jhdf/object/datatype/FloatingPoint.java +++ b/jhdf/src/main/java/io/jhdf/object/datatype/FloatingPoint.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.datatype; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/datatype/OrderedDataType.java b/jhdf/src/main/java/io/jhdf/object/datatype/OrderedDataType.java index 26bce0e3..9a0f284e 100644 --- a/jhdf/src/main/java/io/jhdf/object/datatype/OrderedDataType.java +++ b/jhdf/src/main/java/io/jhdf/object/datatype/OrderedDataType.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.datatype; import java.nio.ByteOrder; diff --git a/jhdf/src/main/java/io/jhdf/object/datatype/StringData.java b/jhdf/src/main/java/io/jhdf/object/datatype/StringData.java index 6430be9f..3b2aad01 100644 --- a/jhdf/src/main/java/io/jhdf/object/datatype/StringData.java +++ b/jhdf/src/main/java/io/jhdf/object/datatype/StringData.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.datatype; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/datatype/VariableLength.java b/jhdf/src/main/java/io/jhdf/object/datatype/VariableLength.java index 685a063a..eb19a5c0 100644 --- a/jhdf/src/main/java/io/jhdf/object/datatype/VariableLength.java +++ b/jhdf/src/main/java/io/jhdf/object/datatype/VariableLength.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.datatype; import java.nio.ByteBuffer; @@ -59,4 +68,4 @@ public Class getJavaType() { } } -} \ No newline at end of file +} diff --git a/jhdf/src/main/java/io/jhdf/object/datatype/package-info.java b/jhdf/src/main/java/io/jhdf/object/datatype/package-info.java index 1eb8948f..00930520 100644 --- a/jhdf/src/main/java/io/jhdf/object/datatype/package-info.java +++ b/jhdf/src/main/java/io/jhdf/object/datatype/package-info.java @@ -1,6 +1,15 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * Classes representing the data types of HDF5 datasets. * * @author James Mudd */ -package io.jhdf.object.datatype; \ No newline at end of file +package io.jhdf.object.datatype; diff --git a/jhdf/src/main/java/io/jhdf/object/message/AttributeInfoMessage.java b/jhdf/src/main/java/io/jhdf/object/message/AttributeInfoMessage.java index b079f275..7119847a 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/AttributeInfoMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/AttributeInfoMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/AttributeMessage.java b/jhdf/src/main/java/io/jhdf/object/message/AttributeMessage.java index 81fbccb8..58e613d3 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/AttributeMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/AttributeMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/BTreeKValuesMessage.java b/jhdf/src/main/java/io/jhdf/object/message/BTreeKValuesMessage.java index 55046af4..86670452 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/BTreeKValuesMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/BTreeKValuesMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/DataLayout.java b/jhdf/src/main/java/io/jhdf/object/message/DataLayout.java index 34af8925..de78baae 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/DataLayout.java +++ b/jhdf/src/main/java/io/jhdf/object/message/DataLayout.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; public enum DataLayout { diff --git a/jhdf/src/main/java/io/jhdf/object/message/DataLayoutMessage.java b/jhdf/src/main/java/io/jhdf/object/message/DataLayoutMessage.java index 22fef75c..b31011b9 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/DataLayoutMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/DataLayoutMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/DataSpace.java b/jhdf/src/main/java/io/jhdf/object/message/DataSpace.java index 67b9f7a6..cd0a3b27 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/DataSpace.java +++ b/jhdf/src/main/java/io/jhdf/object/message/DataSpace.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/DataSpaceMessage.java b/jhdf/src/main/java/io/jhdf/object/message/DataSpaceMessage.java index 69bb68a8..48e963fe 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/DataSpaceMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/DataSpaceMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/DataTypeMessage.java b/jhdf/src/main/java/io/jhdf/object/message/DataTypeMessage.java index d49a8f63..cc240119 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/DataTypeMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/DataTypeMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/FillValueMessage.java b/jhdf/src/main/java/io/jhdf/object/message/FillValueMessage.java index 1714efcf..20e07276 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/FillValueMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/FillValueMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/FillValueOldMessage.java b/jhdf/src/main/java/io/jhdf/object/message/FillValueOldMessage.java index 44006be4..de6be383 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/FillValueOldMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/FillValueOldMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/FilterPipelineMessage.java b/jhdf/src/main/java/io/jhdf/object/message/FilterPipelineMessage.java index 1ec53b20..250132d1 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/FilterPipelineMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/FilterPipelineMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/GroupInfoMessage.java b/jhdf/src/main/java/io/jhdf/object/message/GroupInfoMessage.java index 8ac070c2..3c45ac2e 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/GroupInfoMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/GroupInfoMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/LinkInfoMessage.java b/jhdf/src/main/java/io/jhdf/object/message/LinkInfoMessage.java index f651c5e6..5a1550f6 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/LinkInfoMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/LinkInfoMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/LinkMessage.java b/jhdf/src/main/java/io/jhdf/object/message/LinkMessage.java index 1a96c769..aa8ac831 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/LinkMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/LinkMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import static java.nio.charset.StandardCharsets.US_ASCII; diff --git a/jhdf/src/main/java/io/jhdf/object/message/Message.java b/jhdf/src/main/java/io/jhdf/object/message/Message.java index 45d58eaf..c2e9868a 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/Message.java +++ b/jhdf/src/main/java/io/jhdf/object/message/Message.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/NilMessage.java b/jhdf/src/main/java/io/jhdf/object/message/NilMessage.java index 0649d8d8..8c3db937 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/NilMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/NilMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/ObjectCommentMessage.java b/jhdf/src/main/java/io/jhdf/object/message/ObjectCommentMessage.java index f0320b57..a15719c7 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/ObjectCommentMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/ObjectCommentMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/ObjectHeaderContinuationMessage.java b/jhdf/src/main/java/io/jhdf/object/message/ObjectHeaderContinuationMessage.java index 23cc7671..db568ae5 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/ObjectHeaderContinuationMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/ObjectHeaderContinuationMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/ObjectModificationTimeMessage.java b/jhdf/src/main/java/io/jhdf/object/message/ObjectModificationTimeMessage.java index e32d373a..86e7d5fe 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/ObjectModificationTimeMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/ObjectModificationTimeMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/ObjectReferenceCountMessage.java b/jhdf/src/main/java/io/jhdf/object/message/ObjectReferenceCountMessage.java index 8cab5cd7..2b0886b2 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/ObjectReferenceCountMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/ObjectReferenceCountMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/SymbolTableMessage.java b/jhdf/src/main/java/io/jhdf/object/message/SymbolTableMessage.java index e62d0ca2..b03f0d31 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/SymbolTableMessage.java +++ b/jhdf/src/main/java/io/jhdf/object/message/SymbolTableMessage.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import java.nio.ByteBuffer; diff --git a/jhdf/src/main/java/io/jhdf/object/message/package-info.java b/jhdf/src/main/java/io/jhdf/object/message/package-info.java index c364fed4..1e21c33c 100644 --- a/jhdf/src/main/java/io/jhdf/object/message/package-info.java +++ b/jhdf/src/main/java/io/jhdf/object/message/package-info.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ /** * Classes representing the messages within HDF5 object headers. * @@ -6,4 +15,4 @@ * * @author James Mudd */ -package io.jhdf.object.message; \ No newline at end of file +package io.jhdf.object.message; diff --git a/jhdf/src/test/java/io/jhdf/AttributesTest.java b/jhdf/src/test/java/io/jhdf/AttributesTest.java index a89d5c70..59ff9a02 100644 --- a/jhdf/src/test/java/io/jhdf/AttributesTest.java +++ b/jhdf/src/test/java/io/jhdf/AttributesTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/DatasetImplTest.java b/jhdf/src/test/java/io/jhdf/DatasetImplTest.java index 66403839..78a5e17d 100644 --- a/jhdf/src/test/java/io/jhdf/DatasetImplTest.java +++ b/jhdf/src/test/java/io/jhdf/DatasetImplTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/FractalHeapTest.java b/jhdf/src/test/java/io/jhdf/FractalHeapTest.java index cf5da310..39f20433 100644 --- a/jhdf/src/test/java/io/jhdf/FractalHeapTest.java +++ b/jhdf/src/test/java/io/jhdf/FractalHeapTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static io.jhdf.Constants.UNDEFINED_ADDRESS; diff --git a/jhdf/src/test/java/io/jhdf/GlobalHeapTest.java b/jhdf/src/test/java/io/jhdf/GlobalHeapTest.java index 8f65ef1d..c359db2b 100644 --- a/jhdf/src/test/java/io/jhdf/GlobalHeapTest.java +++ b/jhdf/src/test/java/io/jhdf/GlobalHeapTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/GroupSymbolTableNodeTest.java b/jhdf/src/test/java/io/jhdf/GroupSymbolTableNodeTest.java index 787b2e52..0b72e6c8 100644 --- a/jhdf/src/test/java/io/jhdf/GroupSymbolTableNodeTest.java +++ b/jhdf/src/test/java/io/jhdf/GroupSymbolTableNodeTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/GroupTest.java b/jhdf/src/test/java/io/jhdf/GroupTest.java index 35a4b161..245a5421 100644 --- a/jhdf/src/test/java/io/jhdf/GroupTest.java +++ b/jhdf/src/test/java/io/jhdf/GroupTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/HdfFileChannelTest.java b/jhdf/src/test/java/io/jhdf/HdfFileChannelTest.java index 983bd5a1..da77cb6f 100644 --- a/jhdf/src/test/java/io/jhdf/HdfFileChannelTest.java +++ b/jhdf/src/test/java/io/jhdf/HdfFileChannelTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/HdfFileTest.java b/jhdf/src/test/java/io/jhdf/HdfFileTest.java index d7ad4290..b227d3cb 100644 --- a/jhdf/src/test/java/io/jhdf/HdfFileTest.java +++ b/jhdf/src/test/java/io/jhdf/HdfFileTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/LargeGroupTest.java b/jhdf/src/test/java/io/jhdf/LargeGroupTest.java index 5d9db84d..cfe141e8 100644 --- a/jhdf/src/test/java/io/jhdf/LargeGroupTest.java +++ b/jhdf/src/test/java/io/jhdf/LargeGroupTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/LocalHeapTest.java b/jhdf/src/test/java/io/jhdf/LocalHeapTest.java index 475e0401..8866fa78 100644 --- a/jhdf/src/test/java/io/jhdf/LocalHeapTest.java +++ b/jhdf/src/test/java/io/jhdf/LocalHeapTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/ObjectHeaderTest.java b/jhdf/src/test/java/io/jhdf/ObjectHeaderTest.java index 90403f8c..9b2e8cc1 100644 --- a/jhdf/src/test/java/io/jhdf/ObjectHeaderTest.java +++ b/jhdf/src/test/java/io/jhdf/ObjectHeaderTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/ObjectHeaderV2Test.java b/jhdf/src/test/java/io/jhdf/ObjectHeaderV2Test.java index adaad21d..e774fc0e 100644 --- a/jhdf/src/test/java/io/jhdf/ObjectHeaderV2Test.java +++ b/jhdf/src/test/java/io/jhdf/ObjectHeaderV2Test.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/SuperblockTest.java b/jhdf/src/test/java/io/jhdf/SuperblockTest.java index 249c6d14..512952d9 100644 --- a/jhdf/src/test/java/io/jhdf/SuperblockTest.java +++ b/jhdf/src/test/java/io/jhdf/SuperblockTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/SuperblockV3Test.java b/jhdf/src/test/java/io/jhdf/SuperblockV3Test.java index 1ffc036b..8cac5204 100644 --- a/jhdf/src/test/java/io/jhdf/SuperblockV3Test.java +++ b/jhdf/src/test/java/io/jhdf/SuperblockV3Test.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/SymbolTableEntryTest.java b/jhdf/src/test/java/io/jhdf/SymbolTableEntryTest.java index a3adde9b..bb5bbd8f 100644 --- a/jhdf/src/test/java/io/jhdf/SymbolTableEntryTest.java +++ b/jhdf/src/test/java/io/jhdf/SymbolTableEntryTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/UserBlockTest.java b/jhdf/src/test/java/io/jhdf/UserBlockTest.java index 2b04ae85..ffe3c57c 100644 --- a/jhdf/src/test/java/io/jhdf/UserBlockTest.java +++ b/jhdf/src/test/java/io/jhdf/UserBlockTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static java.nio.charset.StandardCharsets.UTF_8; diff --git a/jhdf/src/test/java/io/jhdf/UtilsTest.java b/jhdf/src/test/java/io/jhdf/UtilsTest.java index 74ec91ae..4bfc9df9 100644 --- a/jhdf/src/test/java/io/jhdf/UtilsTest.java +++ b/jhdf/src/test/java/io/jhdf/UtilsTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf; import static java.nio.ByteOrder.BIG_ENDIAN; diff --git a/jhdf/src/test/java/io/jhdf/btree/BTreeV1Test.java b/jhdf/src/test/java/io/jhdf/btree/BTreeV1Test.java index 248b7461..a55b89a6 100644 --- a/jhdf/src/test/java/io/jhdf/btree/BTreeV1Test.java +++ b/jhdf/src/test/java/io/jhdf/btree/BTreeV1Test.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree; import static io.jhdf.Constants.UNDEFINED_ADDRESS; diff --git a/jhdf/src/test/java/io/jhdf/btree/record/LinkNameForIndexedGroupRecordTest.java b/jhdf/src/test/java/io/jhdf/btree/record/LinkNameForIndexedGroupRecordTest.java index 18033237..73627e8f 100644 --- a/jhdf/src/test/java/io/jhdf/btree/record/LinkNameForIndexedGroupRecordTest.java +++ b/jhdf/src/test/java/io/jhdf/btree/record/LinkNameForIndexedGroupRecordTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.btree.record; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/dataset/ChunkedDatasetTest.java b/jhdf/src/test/java/io/jhdf/dataset/ChunkedDatasetTest.java index 2c27c5ab..1eb792d4 100644 --- a/jhdf/src/test/java/io/jhdf/dataset/ChunkedDatasetTest.java +++ b/jhdf/src/test/java/io/jhdf/dataset/ChunkedDatasetTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/dataset/CompressedChunkedDatasetTest.java b/jhdf/src/test/java/io/jhdf/dataset/CompressedChunkedDatasetTest.java index fc35ee05..599c919e 100644 --- a/jhdf/src/test/java/io/jhdf/dataset/CompressedChunkedDatasetTest.java +++ b/jhdf/src/test/java/io/jhdf/dataset/CompressedChunkedDatasetTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/dataset/DatasetReaderTest.java b/jhdf/src/test/java/io/jhdf/dataset/DatasetReaderTest.java index 05ccaa9f..fd91228a 100644 --- a/jhdf/src/test/java/io/jhdf/dataset/DatasetReaderTest.java +++ b/jhdf/src/test/java/io/jhdf/dataset/DatasetReaderTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/dataset/EmptyDatasetTest.java b/jhdf/src/test/java/io/jhdf/dataset/EmptyDatasetTest.java index 2719c1bb..cd202be7 100644 --- a/jhdf/src/test/java/io/jhdf/dataset/EmptyDatasetTest.java +++ b/jhdf/src/test/java/io/jhdf/dataset/EmptyDatasetTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/dataset/ScalarDatasetTest.java b/jhdf/src/test/java/io/jhdf/dataset/ScalarDatasetTest.java index f8d74f01..b0dc87a9 100644 --- a/jhdf/src/test/java/io/jhdf/dataset/ScalarDatasetTest.java +++ b/jhdf/src/test/java/io/jhdf/dataset/ScalarDatasetTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/dataset/StringDatasetTest.java b/jhdf/src/test/java/io/jhdf/dataset/StringDatasetTest.java index 2b6e5dca..75a1e2a1 100644 --- a/jhdf/src/test/java/io/jhdf/dataset/StringDatasetTest.java +++ b/jhdf/src/test/java/io/jhdf/dataset/StringDatasetTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.dataset; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/examples/PrintTreeTest.java b/jhdf/src/test/java/io/jhdf/examples/PrintTreeTest.java index 49538daf..a0aacf0e 100644 --- a/jhdf/src/test/java/io/jhdf/examples/PrintTreeTest.java +++ b/jhdf/src/test/java/io/jhdf/examples/PrintTreeTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.examples; import java.io.IOException; diff --git a/jhdf/src/test/java/io/jhdf/examples/ReadDatasetTest.java b/jhdf/src/test/java/io/jhdf/examples/ReadDatasetTest.java index 69a906e7..23b4e406 100644 --- a/jhdf/src/test/java/io/jhdf/examples/ReadDatasetTest.java +++ b/jhdf/src/test/java/io/jhdf/examples/ReadDatasetTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.examples; import org.junit.jupiter.api.Test; diff --git a/jhdf/src/test/java/io/jhdf/examples/TestAllFiles.java b/jhdf/src/test/java/io/jhdf/examples/TestAllFiles.java index fc60e778..839f0365 100644 --- a/jhdf/src/test/java/io/jhdf/examples/TestAllFiles.java +++ b/jhdf/src/test/java/io/jhdf/examples/TestAllFiles.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.examples; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/exceptions/ExceptionsTest.java b/jhdf/src/test/java/io/jhdf/exceptions/ExceptionsTest.java index 85f0ddc9..e2d695c0 100644 --- a/jhdf/src/test/java/io/jhdf/exceptions/ExceptionsTest.java +++ b/jhdf/src/test/java/io/jhdf/exceptions/ExceptionsTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.exceptions; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/links/LinksTest.java b/jhdf/src/test/java/io/jhdf/links/LinksTest.java index 642a6b30..9761d0f7 100644 --- a/jhdf/src/test/java/io/jhdf/links/LinksTest.java +++ b/jhdf/src/test/java/io/jhdf/links/LinksTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.links; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/object/message/AttributeMessageV1Test.java b/jhdf/src/test/java/io/jhdf/object/message/AttributeMessageV1Test.java index 1340f178..089b1f94 100644 --- a/jhdf/src/test/java/io/jhdf/object/message/AttributeMessageV1Test.java +++ b/jhdf/src/test/java/io/jhdf/object/message/AttributeMessageV1Test.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import static java.nio.ByteOrder.LITTLE_ENDIAN; diff --git a/jhdf/src/test/java/io/jhdf/object/message/AttributeMessageV3Test.java b/jhdf/src/test/java/io/jhdf/object/message/AttributeMessageV3Test.java index 337910ea..d217293e 100644 --- a/jhdf/src/test/java/io/jhdf/object/message/AttributeMessageV3Test.java +++ b/jhdf/src/test/java/io/jhdf/object/message/AttributeMessageV3Test.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import static java.nio.ByteOrder.LITTLE_ENDIAN; diff --git a/jhdf/src/test/java/io/jhdf/object/message/FillValueOldMessageTest.java b/jhdf/src/test/java/io/jhdf/object/message/FillValueOldMessageTest.java index e33acbe9..16b72f90 100644 --- a/jhdf/src/test/java/io/jhdf/object/message/FillValueOldMessageTest.java +++ b/jhdf/src/test/java/io/jhdf/object/message/FillValueOldMessageTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/object/message/ObjectCommentMessageTest.java b/jhdf/src/test/java/io/jhdf/object/message/ObjectCommentMessageTest.java index 595ab39e..7df0442e 100644 --- a/jhdf/src/test/java/io/jhdf/object/message/ObjectCommentMessageTest.java +++ b/jhdf/src/test/java/io/jhdf/object/message/ObjectCommentMessageTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/java/io/jhdf/object/message/ObjectModificationTimeMessageTest.java b/jhdf/src/test/java/io/jhdf/object/message/ObjectModificationTimeMessageTest.java index 03c63b24..99010bf3 100644 --- a/jhdf/src/test/java/io/jhdf/object/message/ObjectModificationTimeMessageTest.java +++ b/jhdf/src/test/java/io/jhdf/object/message/ObjectModificationTimeMessageTest.java @@ -1,3 +1,12 @@ +/******************************************************************************* + * This file is part of jHDF. A pure Java library for accessing HDF5 files. + * + * http://jhdf.io + * + * Copyright 2019 James Mudd + * + * MIT License see 'LICENSE' file + ******************************************************************************/ package io.jhdf.object.message; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/jhdf/src/test/resources/io/jhdf/attributes.py b/jhdf/src/test/resources/io/jhdf/attributes.py index df25ae5b..959f0fe8 100644 --- a/jhdf/src/test/resources/io/jhdf/attributes.py +++ b/jhdf/src/test/resources/io/jhdf/attributes.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np diff --git a/jhdf/src/test/resources/io/jhdf/chunked_datasets.py b/jhdf/src/test/resources/io/jhdf/chunked_datasets.py index 1fb95355..ab863d38 100644 --- a/jhdf/src/test/resources/io/jhdf/chunked_datasets.py +++ b/jhdf/src/test/resources/io/jhdf/chunked_datasets.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np @@ -34,4 +43,4 @@ def write_chunked_datasets(f): # f = h5py.File('test_chunked_datasets_latest.hdf5', 'w', libver='latest') # write_chunked_datasets(f) # print('created test_chunked_datasets_latest.hdf5') - \ No newline at end of file + diff --git a/jhdf/src/test/resources/io/jhdf/compressed_chunked_datasets.py b/jhdf/src/test/resources/io/jhdf/compressed_chunked_datasets.py index 1d18aa00..81e66a48 100644 --- a/jhdf/src/test/resources/io/jhdf/compressed_chunked_datasets.py +++ b/jhdf/src/test/resources/io/jhdf/compressed_chunked_datasets.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np @@ -32,4 +41,4 @@ def write_chunked_datasets(f): # f = h5py.File('test_chunked_datasets_latest.hdf5', 'w', libver='latest') # write_chunked_datasets(f) # print('created test_chunked_datasets_latest.hdf5') - \ No newline at end of file + diff --git a/jhdf/src/test/resources/io/jhdf/large_groups.py b/jhdf/src/test/resources/io/jhdf/large_groups.py index 71aca1bd..e7070424 100644 --- a/jhdf/src/test/resources/io/jhdf/large_groups.py +++ b/jhdf/src/test/resources/io/jhdf/large_groups.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np diff --git a/jhdf/src/test/resources/io/jhdf/make_test_files.py b/jhdf/src/test/resources/io/jhdf/make_test_files.py index d9d6b887..f6b25468 100644 --- a/jhdf/src/test/resources/io/jhdf/make_test_files.py +++ b/jhdf/src/test/resources/io/jhdf/make_test_files.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np from timeit import timeit diff --git a/jhdf/src/test/resources/io/jhdf/medium_groups.py b/jhdf/src/test/resources/io/jhdf/medium_groups.py index 2c577e3a..429994f5 100644 --- a/jhdf/src/test/resources/io/jhdf/medium_groups.py +++ b/jhdf/src/test/resources/io/jhdf/medium_groups.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np diff --git a/jhdf/src/test/resources/io/jhdf/scalar_empty_datasets.py b/jhdf/src/test/resources/io/jhdf/scalar_empty_datasets.py index 8cec6d23..dc0ad143 100644 --- a/jhdf/src/test/resources/io/jhdf/scalar_empty_datasets.py +++ b/jhdf/src/test/resources/io/jhdf/scalar_empty_datasets.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np diff --git a/jhdf/src/test/resources/io/jhdf/string_datasets.py b/jhdf/src/test/resources/io/jhdf/string_datasets.py index becd16b0..4e2a27b6 100644 --- a/jhdf/src/test/resources/io/jhdf/string_datasets.py +++ b/jhdf/src/test/resources/io/jhdf/string_datasets.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np diff --git a/jhdf/src/test/resources/io/jhdf/userblock.py b/jhdf/src/test/resources/io/jhdf/userblock.py index 9e189f50..6e720f1b 100644 --- a/jhdf/src/test/resources/io/jhdf/userblock.py +++ b/jhdf/src/test/resources/io/jhdf/userblock.py @@ -1,3 +1,12 @@ +#------------------------------------------------------------------------------- +# This file is part of jHDF. A pure Java library for accessing HDF5 files. +# +# http://jhdf.io +# +# Copyright 2019 James Mudd +# +# MIT License see 'LICENSE' file +#------------------------------------------------------------------------------- import h5py import numpy as np