Code example for Properties

Methods: remove

0
 
  public void setHostName(final String hostName)
  { 
    if (hostName == null)
    { 
      properties.remove("::pentaho-reporting::hostname");
    } 
    else 
    { 
      properties.setProperty("::pentaho-reporting::hostname", hostName);
    } 
  } 
 
  public String getDatabaseType()
  { 
    return properties.getProperty("::pentaho-reporting::database-type");
  } 
 
  public void setDatabaseType(final String databaseType)
  { 
    if (databaseType == null)