Class PDUEncoder
java.lang.Object
java.io.OutputStream
org.aoju.bus.image.metric.PDVOutputStream
org.aoju.bus.image.metric.internal.pdu.PDUEncoder
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidcopyFrom(InputStream in) voidcopyFrom(InputStream in, int len) voidwrite(byte[] b, int off, int len) voidwrite(int b) voidvoidwrite(AAssociateAC ac) voidwrite(AAssociateRJ rj) voidwrite(AAssociateRQ rq) voidvoidvoidwriteDIMSE(Presentation pc, Attributes cmd, DataWriter dataWriter) voidMethods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
PDUEncoder
-
-
Method Details
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
writeAReleaseRQ
- Throws:
IOException
-
writeAReleaseRP
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-
copyFrom
- Specified by:
copyFromin classPDVOutputStream- Throws:
IOException
-
copyFrom
- Specified by:
copyFromin classPDVOutputStream- Throws:
IOException
-
writePDataTF
- Throws:
IOException
-
writeDIMSE
- Throws:
IOException
-