/[schmitzm]/branches/2.3.x/src/skrueger/geotools/io/DbServerSettings.java
ViewVC logotype

Diff of /branches/2.3.x/src/skrueger/geotools/io/DbServerSettings.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1164 by alfonx, Mon Oct 25 07:25:26 2010 UTC revision 1165 by alfonx, Mon Oct 25 08:50:00 2010 UTC
# Line 171  public class DbServerSettings extends Se Line 171  public class DbServerSettings extends Se
171          private String[] cachedTypeNames = null;          private String[] cachedTypeNames = null;
172    
173          public DbServerSettings() {          public DbServerSettings() {
174                    this(DbType.postgis);
175          }          }
176    
177          public DbServerSettings(DbType dbType) {          public DbServerSettings(DbType dbType) {
178                  setDbType(dbType);                  setDbType(dbType);
179                  setHost("localhost");                  setHost("localhost");
180                  setSchema("public");                  setSchema("public");
181                    put(JDBCDataStoreFactory.PK_METADATA_TABLE.key, null);
182          }          }
183    
184          public String[] getCachedTypeNames() {          public String[] getCachedTypeNames() {
# Line 312  public class DbServerSettings extends Se Line 314  public class DbServerSettings extends Se
314    
315                  serialized.append(getTitle());                  serialized.append(getTitle());
316                  serialized.append(DELIMITER);                  serialized.append(DELIMITER);
317                    
318                  serialized.append(getHost());                  serialized.append(getHost());
319                  serialized.append(DELIMITER);                  serialized.append(DELIMITER);
320    

Legend:
Removed from v.1164  
changed lines
  Added in v.1165

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26