org.dcm4che2.data
Class TransferSyntax

java.lang.Object
  extended by org.dcm4che2.data.TransferSyntax

public class TransferSyntax
extends java.lang.Object


Field Summary
static TransferSyntax DeflatedExplicitVRLittleEndian
           
static TransferSyntax ExplicitVRBigEndian
           
static TransferSyntax ExplicitVRLittleEndian
           
static TransferSyntax ImplicitVRBigEndian
           
static TransferSyntax ImplicitVRLittleEndian
           
static TransferSyntax NoPixelData
           
static TransferSyntax NoPixelDataDeflate
           
 
Constructor Summary
TransferSyntax(java.lang.String uid, boolean explicitVR, boolean bigEndian, boolean deflated, boolean encapsulated)
           
 
Method Summary
static void add(TransferSyntax ts)
          Add entry for private Transfer Syntax to be returned by valueOf.
 boolean bigEndian()
           
 boolean deflated()
           
 boolean encapsulated()
           
 boolean equals(java.lang.Object o2)
          Check to see if the transfer syntax is the same
 boolean explicitVR()
           
 int hashCode()
           
static TransferSyntax remove(java.lang.String tsuid)
           
 java.lang.String uid()
           
 boolean uncompressed()
           
static TransferSyntax valueOf(java.lang.String uid)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ImplicitVRLittleEndian

public static final TransferSyntax ImplicitVRLittleEndian

ImplicitVRBigEndian

public static final TransferSyntax ImplicitVRBigEndian

ExplicitVRLittleEndian

public static final TransferSyntax ExplicitVRLittleEndian

ExplicitVRBigEndian

public static final TransferSyntax ExplicitVRBigEndian

DeflatedExplicitVRLittleEndian

public static final TransferSyntax DeflatedExplicitVRLittleEndian

NoPixelData

public static final TransferSyntax NoPixelData

NoPixelDataDeflate

public static final TransferSyntax NoPixelDataDeflate
Constructor Detail

TransferSyntax

public TransferSyntax(java.lang.String uid,
                      boolean explicitVR,
                      boolean bigEndian,
                      boolean deflated,
                      boolean encapsulated)
Method Detail

add

public static void add(TransferSyntax ts)
Add entry for private Transfer Syntax to be returned by valueOf. Necessary to decode DICOM Objects encoded with Private Transfer Syntax with Big Endian or/and Implicit VR encoding.

Parameters:
ts - entry for private Transfer Syntax

remove

public static TransferSyntax remove(java.lang.String tsuid)

valueOf

public static TransferSyntax valueOf(java.lang.String uid)

uid

public final java.lang.String uid()

bigEndian

public final boolean bigEndian()

explicitVR

public final boolean explicitVR()

deflated

public final boolean deflated()

encapsulated

public final boolean encapsulated()

uncompressed

public final boolean uncompressed()

equals

public boolean equals(java.lang.Object o2)
Check to see if the transfer syntax is the same

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2011 dcm4che. All Rights Reserved.