com.pixelmed.network
Class PresentationDataValue

java.lang.Object
  extended by com.pixelmed.network.PresentationDataValue

public class PresentationDataValue
extends Object


Constructor Summary
PresentationDataValue(byte[] buf, int offset, int length)
           
PresentationDataValue(byte presentationContextID, byte[] value, boolean isCommand, boolean isLastFragment)
           
 
Method Summary
 byte[] getBytes()
           
 byte getPresentationContextID()
           
 byte[] getValue()
           
 boolean isCommand()
           
 boolean isLastFragment()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PresentationDataValue

public PresentationDataValue(byte presentationContextID,
                             byte[] value,
                             boolean isCommand,
                             boolean isLastFragment)
                      throws DicomNetworkException
Parameters:
presentationContextID -
value -
isCommand -
isLastFragment -
Throws:
DicomNetworkException

PresentationDataValue

public PresentationDataValue(byte[] buf,
                             int offset,
                             int length)
                      throws DicomNetworkException
Parameters:
buf -
offset -
length -
Throws:
DicomNetworkException
Method Detail

getBytes

public byte[] getBytes()

getValue

public byte[] getValue()

isLastFragment

public boolean isLastFragment()

isCommand

public boolean isCommand()

getPresentationContextID

public byte getPresentationContextID()

toString

public String toString()
Overrides:
toString in class Object