org.dicom4j.io.directory
Class DicomDirectoryReader

java.lang.Object
  extended by org.dicom4j.io.directory.DicomDirectoryReader

public class DicomDirectoryReader
extends Object

DicomDir reader

Since:
0.0.4
Author:
Laurent Lecomte

Constructor Summary
DicomDirectoryReader(DataSet aDataSet)
           
 
Method Summary
static Vector findAllContainedReferencedFileNames(DicomDirectoryItem record, String parentFilePath)
           Get all the referenced file names at or below the specified directory record.
static HashMap findAllContainedReferencedFileNamesAndTheirRecords(DicomDirectoryItem record, String parentFilePath)
           Get all the referenced file names at or below the specified directory record, and a map to the directory records that reference them.
 void read(DicomDirectory aDirectory)
          TODO
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DicomDirectoryReader

public DicomDirectoryReader(DataSet aDataSet)
                     throws DicomException
Parameters:
aDataSet -
Throws:
DicomException
Method Detail

findAllContainedReferencedFileNames

public static Vector findAllContainedReferencedFileNames(DicomDirectoryItem record,
                                                         String parentFilePath)

Get all the referenced file names at or below the specified directory record.

Parameters:
record -
parentFilePath - the folder in which the DICOMDIR lives (i.e., the base for contained references)
Returns:
a java.util.Vector of string file names fully qualified by the specified parent

findAllContainedReferencedFileNamesAndTheirRecords

public static HashMap findAllContainedReferencedFileNamesAndTheirRecords(DicomDirectoryItem record,
                                                                         String parentFilePath)

Get all the referenced file names at or below the specified directory record, and a map to the directory records that reference them.

Parameters:
record -
parentFilePath - the folder in which the DICOMDIR lives (i.e., the base for contained references)
Returns:
a java.util.HashMap whose keys are string file names fully qualified by the specified parent, mapped to DicomDirectoryRecords

read

public void read(DicomDirectory aDirectory)
          throws DicomException
TODO

Parameters:
aDirectory -
Throws:
DicomException


Copyright © 2009 dicom4j. All Rights Reserved.