Code example for PropertyResourceBundle

Methods: getString

0
    @Before 
    public void setUp() { 
 
        PropertyResourceBundle prop =
                (PropertyResourceBundle) ResourceBundle.getBundle(PROPERTIES);
        String username = prop.getString("fedora.admin.username");
        String password = prop.getString("fedora.admin.password");
        //String fedoraUrl = prop.getString("fedora.url"); 
        String fedoraUrl = FedoraUtil.getBaseURL();
 
 
 
        try { 
            if (logger.isDebugEnabled()) { 
                logger.debug("Setting up..."); 
            } 
 
            FedoraClient client = getFedoraClient();
            policyUtils = new PolicyUtils(client);
            client.shutdown();