Package org.aoju.bus.image.plugin
Class StoreSCU
java.lang.Object
org.aoju.bus.image.plugin.StoreSCU
- All Implemented Interfaces:
AutoCloseable
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfaceclass -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStoreSCU(ApplicationEntity ae, Progress progress) StoreSCU(ApplicationEntity ae, Progress progress, Editors attributesEditors) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddFile(BufferedWriter fileInfos, File f, long endFmi, Attributes fmi, Attributes ds) voidclose()echo()final voidenableSOPClassRelationshipExtNeg(boolean enable) intgetState()longvoidopen()static voidscan(List<String> fnames, boolean printout, StoreSCU.Callback scb) static voidscan(List<String> fnames, StoreSCU.Callback scb) voidvoidstatic StringselectTransferSyntax(Association as, String cuid, String filets) voidvoidvoidsetAttributes(Attributes attrs) final voidsetPriority(int priority) voidsetRspHandlerFactory(StoreSCU.RSPHandlerFactory rspHandlerFactory) voidsetTmpFile(File tmpFile) final voidsetTmpFileDirectory(File tmpDir) final voidsetTmpFilePrefix(String prefix) final voidsetTmpFileSuffix(String suffix) final voidsetUIDSuffix(String uidSuffix) static booleanupdateAttributes(Attributes data, Attributes attrs, String uidSuffix)
-
Field Details
-
relSOPClasses
-
-
Constructor Details
-
StoreSCU
- Throws:
IOException
-
StoreSCU
-
-
Method Details
-
updateAttributes
-
scan
-
scan
-
selectTransferSyntax
-
setRspHandlerFactory
-
getAAssociateRQ
-
getRemoteConnection
-
getAttributes
-
setAttributes
-
setTmpFile
-
setPriority
public final void setPriority(int priority) -
setUIDSuffix
-
setTmpFilePrefix
-
setTmpFileSuffix
-
setTmpFileDirectory
-
enableSOPClassRelationshipExtNeg
public final void enableSOPClassRelationshipExtNeg(boolean enable) -
scanFiles
- Throws:
IOException
-
scanFiles
- Throws:
IOException
-
sendFiles
- Throws:
IOException
-
addFile
public boolean addFile(BufferedWriter fileInfos, File f, long endFmi, Attributes fmi, Attributes ds) throws IOException - Throws:
IOException
-
echo
- Throws:
IOExceptionInterruptedException
-
send
public void send(File f, long fmiEndPos, String cuid, String iuid, String filets) throws IOException, InterruptedException, ParserConfigurationException, SAXException -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOExceptionInterruptedException
-
open
-
getFilesScanned
public int getFilesScanned() -
getTotalSize
public long getTotalSize() -
getState
-