|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.database.DatabaseApplicationProperties
public class DatabaseApplicationProperties
This class provides common support to applications requiring properties related to database services.
The following properties are supported:
Application.DatabaseFileName - where to save the database files
Application.SavedImagesFolderName - where to save incoming images referenced by the database
Application.DatabaseServerName - name to use for external TCP access to database (such a server will not be started if this property is absent)
| Field Summary | |
|---|---|
static String |
propertyName_DatabaseFileName
|
static String |
propertyName_DatabaseServerName
|
static String |
propertyName_SavedImagesFolderName
|
| Constructor Summary | |
|---|---|
DatabaseApplicationProperties(Properties properties)
Extract the DICOM network properties from the supplied properties. |
|
| Method Summary | |
|---|---|
String |
getDatabaseFileName()
Return the database file name. |
String |
getDatabaseServerName()
Return the database server name for external access. |
File |
getSavedImagesFolderCreatingItIfNecessary()
Return the saved images folder, creating it if necessary. |
String |
getSavedImagesFolderName()
Return the saved images folder name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String propertyName_DatabaseFileName
public static final String propertyName_SavedImagesFolderName
public static final String propertyName_DatabaseServerName
| Constructor Detail |
|---|
public DatabaseApplicationProperties(Properties properties)
Extract the DICOM network properties from the supplied properties.
properties - | Method Detail |
|---|
public String getDatabaseFileName()
Return the database file name.
public String getSavedImagesFolderName()
Return the saved images folder name.
public File getSavedImagesFolderCreatingItIfNecessary()
throws IOException
Return the saved images folder, creating it if necessary.
If not an absolute path, will be sought or created relative to the current user's home directory.
IOExceptionpublic String getDatabaseServerName()
Return the database server name for external access.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||