au.edu.archer.util
Class PropertyFileReader

java.lang.Object
  extended by au.edu.archer.util.PropertyFileReader

public class PropertyFileReader
extends java.lang.Object

Property file reader. Implements singleton pattern.


Field Summary
static java.lang.String ALLOW_USERNAME_PASSWORD_SRB_LOGIN
          ALLOW_USERNAME_PASSWORD_SRB_LOGIN.
static java.lang.String APPLY_SHIBBOLETH_SECURITY
          APPLY_SHIBBOLETH_SECURITY.
static java.lang.String CERT_PROVIDER
          CERT_PROVIDER.
static java.lang.String CREATE_DTST_HNDL
          CREATE DATASET HANDLE.
static java.lang.String DATASETPACKAGE_SPLITSIZE
          DATASETPACKAGE_SPLITSIZE.
static java.lang.String FEDORA_PASSWORD
          FEDORA_PASSWORD.
static java.lang.String FEDORA_URL
          FEDORA_URL.
static java.lang.String FEDORA_USERNAME
          FEDORA_USERNAME.
static java.lang.String GRID_SECURITY_CERT
          GRID_SECURITY_CERT.
static java.lang.String GRID_SECURITY_CERT_MYPROXY
          GRID_SECURITY_CERT_MYPROXY.
static java.lang.String HANDLE_RESOLVER_URL
          HANDLE_RESOLVER_URL.
static java.lang.String HANDLE_SERVER_KEY_LOCATION
          HANDLE_SERVER_KEY_LOCATION.
static java.lang.String HANDLE_SERVER_KEY_PASSPHRASE
          HANDLE_SERVER_KEY_PASSPHRASE.
static java.lang.String HANDLE_SERVER_NAMESPACE
          HANDLE_SERVER_NAMESPACE.
static java.lang.String MYPROXY_PORT
          MYPROXY_SERVER.
static java.lang.String MYPROXY_SERVER
          MYPROXY_SERVER.
static java.lang.String PROJECT_HOME_LABEL
          PROJECT_HOME_LABEL.
static java.lang.String PROJECT_PANEL_TITLE
          PROJECT_PANEL_TITLE.
static java.lang.String SERVER_HTTP_PORT_TO_BLOCK
          SERVER_HTTP_PORT_TO_BLOCK.
static java.lang.String SHIBB_ID_TRIM_LNGTH
          SHIBB_ID_TRIM_LNGTH.
static java.lang.String SHIBBOLETH_LOGIN_URL
          SHIBBOLETH_LOGIN_URL.
static java.lang.String SHIBBOLETH_MODEL_UNIQUE_ID
          SHIBBOLETH_MODEL_UNIQUE_ID.
static java.lang.String SHIBBOLETH_MODEL_UNIQUE_ID_BLOCK_CHARS
          SHIBBOLETH_MODEL_UNIQUE_ID_BLOCK_CHARS.
static java.lang.String SMTP_MAIL_SERVER
          SMTP_MAIL_SERVER.
static java.lang.String SRB_ADMIN_EMAIL_ID
          SRB_ADMIN_EMAIL_ID.
static java.lang.String SRB_COMMON_PROJECT_DIRECTORY
          SRB_COMMON_PROJECT_DIRECTORY.
static java.lang.String SRB_COMMON_PROJECT_DIRECTORY_SUP_ADM_GRP
          SRB_COMMON_PROJECT_DIRECTORY_SUP_ADM_GRP.
static java.lang.String SRB_DTFL_ADMN_GRP_PERM
          SRB_DTFL_ADMN_GRP_PERM.
static java.lang.String SRB_DTFL_TEAM_GRP_PERM
          SRB_DTFL_TEAM_GRP_PERM.
static java.lang.String SRB_DTST_ADMN_GRP_PERM
          SRB_DTST_ADMN_GRP_PERM.
static java.lang.String SRB_DTST_TEAM_GRP_PERM
          SRB_DTST_TEAM_GRP_PERM.
static java.lang.String SRB_EXPR_ADMN_GRP_PERM
          SRB_EXPR_ADMN_GRP_PERM.
static java.lang.String SRB_EXPR_TEAM_GRP_PERM
          SRB_EXPR_TEAM_GRP_PERM.
static java.lang.String SRB_HOST
          SRB_HOST.
static java.lang.String SRB_PORT
          SRB_PORT.
static java.lang.String SRB_PRJT_ADMN_GRP_PERM
          SRB_PRJT_ADMN_GRP_PERM.
static java.lang.String SRB_PRJT_TEAM_GRP_PERM
          SRB_PRJT_TEAM_GRP_PERM.
static java.lang.String SRB_RESOURCE_NAME
          SRB_RESOURCE_NAME.
static java.lang.String SRB_SCRATCH_AREA_DIRECTORY
          SRB_SCRATCH_AREA_DIRECTORY.
static java.lang.String STAGING_HOME_LABEL
          STAGING_HOME_LABEL.
static java.lang.String STAGING_PANEL_TITLE
          STAGING_PANEL_TITLE.
static java.lang.String UQ_MDE_CRYSTAL_TEMPLATE
          UQ_MDE_CRYSTAL_TEMPLATE.
static java.lang.String USE_MYPROXY_AUTHEN
          apply myproxy security for user authentication.
static java.lang.String USER_HOME_LABEL
          USER_HOME_LABEL.
static java.lang.String USER_PANEL_TITLE
          USER_PANEL_TITLE.
static java.lang.String VIEW_DATASET_URL
          VIEW_DATASET_URL.
 
Method Summary
static PropertyFileReader getInstance()
          Get singleton instance of PropertyFileReader.
 java.lang.String getValue(java.lang.String propertyKey)
          Get the property value by a specific property key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_HTTP_PORT_TO_BLOCK

public static java.lang.String SERVER_HTTP_PORT_TO_BLOCK
SERVER_HTTP_PORT_TO_BLOCK.


SRB_PORT

public static java.lang.String SRB_PORT
SRB_PORT.


SHIBBOLETH_LOGIN_URL

public static java.lang.String SHIBBOLETH_LOGIN_URL
SHIBBOLETH_LOGIN_URL.


APPLY_SHIBBOLETH_SECURITY

public static java.lang.String APPLY_SHIBBOLETH_SECURITY
APPLY_SHIBBOLETH_SECURITY.


ALLOW_USERNAME_PASSWORD_SRB_LOGIN

public static java.lang.String ALLOW_USERNAME_PASSWORD_SRB_LOGIN
ALLOW_USERNAME_PASSWORD_SRB_LOGIN.


SHIBBOLETH_MODEL_UNIQUE_ID

public static java.lang.String SHIBBOLETH_MODEL_UNIQUE_ID
SHIBBOLETH_MODEL_UNIQUE_ID.


SHIBBOLETH_MODEL_UNIQUE_ID_BLOCK_CHARS

public static java.lang.String SHIBBOLETH_MODEL_UNIQUE_ID_BLOCK_CHARS
SHIBBOLETH_MODEL_UNIQUE_ID_BLOCK_CHARS.


SHIBB_ID_TRIM_LNGTH

public static java.lang.String SHIBB_ID_TRIM_LNGTH
SHIBB_ID_TRIM_LNGTH.


GRID_SECURITY_CERT

public static java.lang.String GRID_SECURITY_CERT
GRID_SECURITY_CERT.


CERT_PROVIDER

public static java.lang.String CERT_PROVIDER
CERT_PROVIDER.


CREATE_DTST_HNDL

public static java.lang.String CREATE_DTST_HNDL
CREATE DATASET HANDLE.


HANDLE_SERVER_KEY_LOCATION

public static java.lang.String HANDLE_SERVER_KEY_LOCATION
HANDLE_SERVER_KEY_LOCATION.


HANDLE_SERVER_KEY_PASSPHRASE

public static java.lang.String HANDLE_SERVER_KEY_PASSPHRASE
HANDLE_SERVER_KEY_PASSPHRASE.


HANDLE_SERVER_NAMESPACE

public static java.lang.String HANDLE_SERVER_NAMESPACE
HANDLE_SERVER_NAMESPACE.


VIEW_DATASET_URL

public static java.lang.String VIEW_DATASET_URL
VIEW_DATASET_URL.


HANDLE_RESOLVER_URL

public static java.lang.String HANDLE_RESOLVER_URL
HANDLE_RESOLVER_URL.


SMTP_MAIL_SERVER

public static java.lang.String SMTP_MAIL_SERVER
SMTP_MAIL_SERVER.


SRB_HOST

public static java.lang.String SRB_HOST
SRB_HOST.


SRB_RESOURCE_NAME

public static java.lang.String SRB_RESOURCE_NAME
SRB_RESOURCE_NAME. *


SRB_ADMIN_EMAIL_ID

public static java.lang.String SRB_ADMIN_EMAIL_ID
SRB_ADMIN_EMAIL_ID.


SRB_COMMON_PROJECT_DIRECTORY

public static java.lang.String SRB_COMMON_PROJECT_DIRECTORY
SRB_COMMON_PROJECT_DIRECTORY.


SRB_COMMON_PROJECT_DIRECTORY_SUP_ADM_GRP

public static java.lang.String SRB_COMMON_PROJECT_DIRECTORY_SUP_ADM_GRP
SRB_COMMON_PROJECT_DIRECTORY_SUP_ADM_GRP.


SRB_SCRATCH_AREA_DIRECTORY

public static java.lang.String SRB_SCRATCH_AREA_DIRECTORY
SRB_SCRATCH_AREA_DIRECTORY.


SRB_PRJT_ADMN_GRP_PERM

public static java.lang.String SRB_PRJT_ADMN_GRP_PERM
SRB_PRJT_ADMN_GRP_PERM.


SRB_PRJT_TEAM_GRP_PERM

public static java.lang.String SRB_PRJT_TEAM_GRP_PERM
SRB_PRJT_TEAM_GRP_PERM.


SRB_EXPR_ADMN_GRP_PERM

public static java.lang.String SRB_EXPR_ADMN_GRP_PERM
SRB_EXPR_ADMN_GRP_PERM.


SRB_EXPR_TEAM_GRP_PERM

public static java.lang.String SRB_EXPR_TEAM_GRP_PERM
SRB_EXPR_TEAM_GRP_PERM.


SRB_DTST_ADMN_GRP_PERM

public static java.lang.String SRB_DTST_ADMN_GRP_PERM
SRB_DTST_ADMN_GRP_PERM.


SRB_DTST_TEAM_GRP_PERM

public static java.lang.String SRB_DTST_TEAM_GRP_PERM
SRB_DTST_TEAM_GRP_PERM.


SRB_DTFL_ADMN_GRP_PERM

public static java.lang.String SRB_DTFL_ADMN_GRP_PERM
SRB_DTFL_ADMN_GRP_PERM.


SRB_DTFL_TEAM_GRP_PERM

public static java.lang.String SRB_DTFL_TEAM_GRP_PERM
SRB_DTFL_TEAM_GRP_PERM.


UQ_MDE_CRYSTAL_TEMPLATE

public static java.lang.String UQ_MDE_CRYSTAL_TEMPLATE
UQ_MDE_CRYSTAL_TEMPLATE.


PROJECT_PANEL_TITLE

public static java.lang.String PROJECT_PANEL_TITLE
PROJECT_PANEL_TITLE. *


PROJECT_HOME_LABEL

public static java.lang.String PROJECT_HOME_LABEL
PROJECT_HOME_LABEL. *


USER_PANEL_TITLE

public static java.lang.String USER_PANEL_TITLE
USER_PANEL_TITLE. *


USER_HOME_LABEL

public static java.lang.String USER_HOME_LABEL
USER_HOME_LABEL. *


STAGING_PANEL_TITLE

public static java.lang.String STAGING_PANEL_TITLE
STAGING_PANEL_TITLE. *


STAGING_HOME_LABEL

public static java.lang.String STAGING_HOME_LABEL
STAGING_HOME_LABEL. *


USE_MYPROXY_AUTHEN

public static java.lang.String USE_MYPROXY_AUTHEN
apply myproxy security for user authentication.


MYPROXY_SERVER

public static java.lang.String MYPROXY_SERVER
MYPROXY_SERVER.


MYPROXY_PORT

public static java.lang.String MYPROXY_PORT
MYPROXY_SERVER.


GRID_SECURITY_CERT_MYPROXY

public static java.lang.String GRID_SECURITY_CERT_MYPROXY
GRID_SECURITY_CERT_MYPROXY.


FEDORA_URL

public static java.lang.String FEDORA_URL
FEDORA_URL.


FEDORA_USERNAME

public static java.lang.String FEDORA_USERNAME
FEDORA_USERNAME.


FEDORA_PASSWORD

public static java.lang.String FEDORA_PASSWORD
FEDORA_PASSWORD.


DATASETPACKAGE_SPLITSIZE

public static java.lang.String DATASETPACKAGE_SPLITSIZE
DATASETPACKAGE_SPLITSIZE.

Method Detail

getInstance

public static PropertyFileReader getInstance()
Get singleton instance of PropertyFileReader.

Returns:
singleton instance of PropertyFileReader object.

getValue

public java.lang.String getValue(java.lang.String propertyKey)
Get the property value by a specific property key.

Parameters:
propertyKey - - The specific property key.
Returns:
a property value associated with a specific property key.


Copyright © 2008-09 Monash University. All Rights Reserved.