| Modifier and Type | Field and Description |
|---|---|
boolean |
bigEndian |
int |
length |
static int |
MAGIC_LEN |
long |
offset |
String |
uri |
String |
uuid |
| Constructor and Description |
|---|
BulkData(String uri,
long offset,
int length,
boolean bigEndian) |
BulkData(String uuid,
String uri,
boolean bigEndian) |
| Modifier and Type | Method and Description |
|---|---|
int |
calcLength(DicomEncodingOptions encOpts,
boolean explicitVR,
VR vr) |
static Value |
deserializeFrom(ObjectInputStream ois) |
int |
getEncodedLength(DicomEncodingOptions encOpts,
boolean explicitVR,
VR vr) |
File |
getFile() |
boolean |
isEmpty() |
InputStream |
openStream() |
void |
serializeTo(ObjectOutputStream oos) |
byte[] |
toBytes(VR vr,
boolean bigEndian) |
String |
toString() |
String |
uriWithoutOffsetAndLength() |
void |
writeTo(DicomOutputStream out,
VR vr) |
public static final int MAGIC_LEN
public final String uri
public final String uuid
public final boolean bigEndian
public final long offset
public final int length
public BulkData(String uri, long offset, int length, boolean bigEndian)
public File getFile()
public String uriWithoutOffsetAndLength()
public InputStream openStream() throws IOException
IOExceptionpublic int calcLength(DicomEncodingOptions encOpts, boolean explicitVR, VR vr)
calcLength in interface Valuepublic int getEncodedLength(DicomEncodingOptions encOpts, boolean explicitVR, VR vr)
getEncodedLength in interface Valuepublic byte[] toBytes(VR vr, boolean bigEndian) throws IOException
toBytes in interface ValueIOExceptionpublic void writeTo(DicomOutputStream out, VR vr) throws IOException
writeTo in interface ValueIOExceptionpublic void serializeTo(ObjectOutputStream oos) throws IOException
IOExceptionpublic static Value deserializeFrom(ObjectInputStream ois) throws IOException
IOExceptionCopyright © 2014 dcm4che.org. All Rights Reserved.