|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.StoredFilePathStrategy
com.pixelmed.dicom.StoredFilePathStrategySingleFolder
public final class StoredFilePathStrategySingleFolder
Store files in a single folder, using the SOP Instance UID as the filename.
This is not a good strategy, since having too many files in a single folder degrades performance, or bump up against limits, like Linux ext2 31998 sub-folders per inode, but is acceptable for modest numbers of images.
It is the default strategy when not otherwise specified, since it was the original strategy supported in earlier versions of the toolkit.
| Field Summary |
|---|
| Fields inherited from class com.pixelmed.dicom.StoredFilePathStrategy |
|---|
BYSOPINSTANCEUIDCOMPONENTFOLDERS, BYSOPINSTANCEUIDHASHSUBFOLDERS, BYSOPINSTANCEUIDINSINGLEFOLDER, debugLevel, defaultAlternativeSubfolder |
| Constructor Summary | |
|---|---|
StoredFilePathStrategySingleFolder()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] arg)
Perform self test. |
String |
makeStoredFilePath(String sopInstanceUID)
Generate a path to where to store a file based on its SOP Instance UID. |
String |
toString()
|
| Methods inherited from class com.pixelmed.dicom.StoredFilePathStrategy |
|---|
getDefaultStrategy, makeAlternativeStoredFilePath, makeReliableStoredFilePathWithFoldersCreated, makeReliableStoredFilePathWithFoldersCreated, makeStoredFilePath, setDebugLevel, test |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StoredFilePathStrategySingleFolder()
| Method Detail |
|---|
public String makeStoredFilePath(String sopInstanceUID)
StoredFilePathStrategyGenerate a path to where to store a file based on its SOP Instance UID.
makeStoredFilePath in class StoredFilePathStrategysopInstanceUID - the SOP Instance UID of the instance to be saved
public String toString()
toString in class Objectpublic static void main(String[] arg)
Perform self test. If arguments are given, then use then as test UIDs. If no arguments, then use internal test UIDs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||