java.lang.Object |
↳ |
vars.annotation.ui.VARSProperties |
Class Overview
Retrieve VARS properties. Most of the properties are configured in the file 'vars.properties'. However,
Some can be overridden on the command line with the -D switch. This class first checks the System properties
for a given property, if it's not foudn there it then checks the vars.properties file.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
Public Methods
public
static
String
getCameraPlatform
(String ship)
Returns
- the Camera platform the corresponds to the ship.
public
static
Collection<String>
getCameraPlatforms
()
Returns
- The collection of cameraplatforms found in the vars.properties file.
The collecition is Collection
public
static
String
getDeploymentLocale
()
Retrieves the deployment locale as specified by the 'deployment.locale'
property in 'vars.properties. This should be the location that VARS is
installed to. Typically this is used to indicate whether VARS is installed
on a ship or not.
Returns
- The deployment.locale property or null if it is not specified in
'vars.properties'
public
static
String
getImageArchiveDirectory
()
public
static
String
getImageArchiveURL
()
public
static
String
getImageCopyrightOwner
()
public
static
String
getShip
(String cameraPlatform)
Returns
- the Ship that corresponds to the cameraplatform.
public
static
Collection
getShips
()
Returns
- the collection of ships found in the vars.properties file. The
collection is a Collection
public
static
int
getVcrPort
()
public
static
String
getVcrUrl
()