Package org.aoju.bus.image.galaxy.media
Class StowrsSingleFile
java.lang.Object
org.aoju.bus.image.galaxy.media.AbstractStowrs
org.aoju.bus.image.galaxy.media.StowrsSingleFile
- All Implemented Interfaces:
AutoCloseable,UploadSingleFile
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields inherited from class org.aoju.bus.image.galaxy.media.AbstractStowrs
MULTIPART_BOUNDARY -
Constructor Summary
ConstructorsConstructorDescriptionStowrsSingleFile(String requestURL, String contentType) StowrsSingleFile(String requestURL, String contentType, String agentName, Map<String, String> headers) -
Method Summary
Modifier and TypeMethodDescriptionvoiduploadDicom(InputStream in, Attributes fmi, String tsuid, String iuid) voiduploadDicom(Attributes metadata, String tsuid) voiduploadEncapsulatedDocument(Attributes metadata, File bulkDataFile, String mdiaType, String sopClassUID) Methods inherited from class org.aoju.bus.image.galaxy.media.AbstractStowrs
buildConnection, close, ensureUID, formatDA, formatDA, formatTM, formatTM, getContentLocation, getContentType, getHeaders, getRequestURL, removeConnection, setEncapsulatedDocumentAttributes, writeContentMarkers, writeEndMarkers, writeEndMarkersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface org.aoju.bus.image.galaxy.media.UploadSingleFile
getContentType, getHeaders, getRequestURL
-
Constructor Details
-
StowrsSingleFile
-
StowrsSingleFile
-
-
Method Details
-
uploadDicom
public void uploadDicom(InputStream in, Attributes fmi, String tsuid, String iuid) throws IOException - Specified by:
uploadDicomin interfaceUploadSingleFile- Throws:
IOException
-
uploadDicom
- Specified by:
uploadDicomin interfaceUploadSingleFile- Throws:
IOException
-
uploadEncapsulatedDocument
public void uploadEncapsulatedDocument(Attributes metadata, File bulkDataFile, String mdiaType, String sopClassUID) throws Exception - Specified by:
uploadEncapsulatedDocumentin interfaceUploadSingleFile- Throws:
Exception
-