Class ExtendedData
java.lang.Object
com.xinapse.multisliceimage.analyze.ExtendedData
- Direct Known Subclasses:
AFNIExtendedData, CommentExtendedData, DICOMExtendedData, InfoExtendedData, UnknownExtendedData, XCEDEExtendedData, XMLExtendedData
This abstract class handles the NIFTI 1.1 extended data.
The class contains a static method to create an arbitary block of NIFTI extended data from a byte[].
The class contains a static method to create an arbitary block of NIFTI extended data from a byte[].
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtendedDatanewInstance(byte[] bArray, int eCode) Creates a new block of NIFTI extended data.toString()
-
Method Details
-
newInstance
Creates a new block of NIFTI extended data.- Parameters:
bArray- the data that encapsulates the extended data.eCode- the ecode for the extended data.- Returns:
- a new block of NIFTI extended data.
- Throws:
IOException- if the length of the byte[] is not a multiple of 16.
-
toString
-