public class

VARSProperties

extends Object
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

Public Methods
static String getCameraPlatform(String ship)
static Collection<String> getCameraPlatforms()
static String getDeploymentLocale()
Retrieves the deployment locale as specified by the 'deployment.locale' property in 'vars.properties.
static String getImageArchiveDirectory()
static String getImageArchiveURL()
static String getImageCopyrightOwner()
static String getShip(String cameraPlatform)
static Collection getShips()
static int getVcrPort()
static String getVcrUrl()
[Expand]
Inherited Methods
From class java.lang.Object

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 ()

Returns
  • Returns the vcrPort.

public static String getVcrUrl ()

Returns
  • Returns the vcrUrl.