|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.data.DataSet
org.dicom4j.data.FileMetaInformation
public class FileMetaInformation
File Meta Information (see DICOM PS 3.10)
| Field Summary | |
|---|---|
static String |
DicomPrefix
the Dicom Prefix |
static int |
PREAMBLE_LENGTH
|
| Constructor Summary | |
|---|---|
FileMetaInformation()
|
|
FileMetaInformation(boolean mustAddElements)
creates a new FileMetaInformation. |
|
FileMetaInformation(byte[] aPreambule,
DataSet aDataSet)
create a FMI from a DataSet |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DicomPrefix
public static final int PREAMBLE_LENGTH
| Constructor Detail |
|---|
public FileMetaInformation(boolean mustAddElements)
mustAddElements - true if must contain elementpublic FileMetaInformation()
public FileMetaInformation(byte[] aPreambule,
DataSet aDataSet)
throws DicomViolationException
aPreambule - aDataSet -
DicomViolationException| Method Detail |
|---|
public void addElementsAndPreambule()
throws Exception
Exceptionpublic UnsignedLong getFileMetaInformationGroupLengthElement()
public OtherByteString getFileMetaInformationVersionElement()
public String getImplementationClassUID()
public UniqueIdentifier getImplementationClassUIDElement()
throws DicomException
DicomExceptionpublic String getImplementationVersionName()
public ShortString getImplementationVersionNameElement()
public UniqueIdentifier getMediaStorageSOPClassUIDElement()
throws DicomException
DicomException
public UniqueIdentifier getMediaStorageSOPInstanceUIDElement()
throws DicomException
DicomExceptionpublic byte[] getPreambule()
public UniqueIdentifier getPrivateInformationCreatorUID()
throws DicomException
DicomExceptionpublic String getSourceApplicationEntityTitle()
public ApplicationEntity getSourceApplicationEntityTitleElement()
throws NoSuchElementException,
WrongDataElementTypeException
NoSuchElementException
WrongDataElementTypeExceptionpublic String getTransferSyntaxUID()
public UniqueIdentifier getTransferSyntaxUIDElement()
throws DicomException
DicomExceptionpublic boolean hasImplementationClassUIDElement()
public boolean hasImplementationVersionNameElement()
public boolean hasMediaStorageSOPClassUIDElement()
public boolean hasMediaStorageSOPInstanceUIDElement()
public boolean hasPrivateInformationCreatorUID()
public boolean hasSourceApplicationEntityTitleElement()
public boolean hasTransferSyntaxUIDElement()
public void setImplementationClassUID(String aImplementationClassUID)
public void setImplementationVersionName(String aImplementationVersionName)
aImplementationVersionName - public void setMediaStorageSOPClassUID(String aMediaStorageSOPClass)
public void setMediaStorageSOPInstanceUID(String aMediaStorageSOPInstanceUID)
public void setPreambule(byte[] aPreambule)
throws DicomViolationException
aPreambule -
DicomViolationExceptionpublic void setSourceApplicationEntityTitle(String aSourceApplicationEntityTitle)
aImplementationVersionName - public void setTransferSyntaxUID(String aTransferSyntaxUID)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||