com.xinapse.multisliceimage.Analyze
Class CommentExtendedData

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

public class CommentExtendedData
extends java.lang.Object

This class handles the NIFTI 1.1 non-NUL ASCII text extended data.


Field Summary
static int CODE
          The ecode for an arbitrary non-NUL ASCII text extension.
 
Method Summary
 java.lang.Object 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-NUL ASCII text extension.

See Also:
Constant Field Values
Method Detail

clone

public java.lang.Object 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-2008 Xinapse Systems Limited. All Rights Reserved.