com.xinapse.multisliceimage.Analyze
Class XMLExtendedData

java.lang.Object
  extended by com.xinapse.multisliceimage.Analyze.XMLExtendedData
All Implemented Interfaces:
java.lang.Cloneable

public class XMLExtendedData
extends java.lang.Object

This abstract class handles NIFTI 1.1 XML extended data.


Field Summary
static int CODE
          The ecode for an arbitrary non-NULL ASCII text extension.
 
Method Summary
 XMLExtendedData clone()
           
static com.xinapse.multisliceimage.Analyze.ExtendedData getInstance(byte[] bArray, int eCode)
          Creates a new block of NIFTI extended data.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CODE

public static final int CODE
The ecode for an arbitrary non-NULL ASCII text extension.

See Also:
Constant Field Values
Method Detail

clone

public XMLExtendedData clone()

toString

public java.lang.String toString()

getInstance

public static com.xinapse.multisliceimage.Analyze.ExtendedData getInstance(byte[] bArray,
                                                                           int eCode)
                                                                    throws java.io.IOException
Creates a new block of NIFTI extended data.

Parameters:
bArray - the data encapsulates the extended data.
eCode - the ecode for the extended data.
Throws:
java.io.IOException - if the length of the byte[] is not a multiple of 16.


Copyright 2006-2011 Xinapse Systems Limited. All Rights Reserved.