Code example for Properties

Methods: remove

0
 
  public void setDatabaseName(final String databaseName)
  { 
    if (databaseName == null)
    { 
      properties.remove("::pentaho-reporting::database-name");
    } 
    else 
    { 
      properties.setProperty("::pentaho-reporting::database-name", databaseName);
    } 
  } 
 
  public String getHostName()
  { 
    return properties.getProperty("::pentaho-reporting::hostname");
  } 
 
  public void setHostName(final String hostName)
  { 
    if (hostName == null)