/[schmitzm]/branches/2.4.x/src/skrueger/geotools/io/AbstractGTServerSettings.java
ViewVC logotype

Diff of /branches/2.4.x/src/skrueger/geotools/io/AbstractGTServerSettings.java

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

trunk/src/skrueger/geotools/io/ServerSettings.java revision 1292 by alfonx, Mon Nov 22 10:39:13 2010 UTC trunk/src/skrueger/geotools/io/AbstractGTServerSettings.java revision 1295 by alfonx, Mon Nov 22 15:09:59 2010 UTC
# Line 1  Line 1 
1  package skrueger.geotools.io;  package skrueger.geotools.io;
2    
 import java.net.MalformedURLException;  
3  import java.util.HashMap;  import java.util.HashMap;
4    
5  public abstract class ServerSettings<T1, T2> extends HashMap<T1, T2> {  public abstract class AbstractGTServerSettings<T1, T2> extends HashMap<T1, T2>
6                    implements ServerSettings {
7    
8          abstract public String toPropertiesString();          public AbstractGTServerSettings(String propString) {
9                    parsePropertiesString(propString);
10            }
11    
12            public AbstractGTServerSettings() {
13            }
14    
15          static Integer intOrNull(String string) {          static Integer intOrNull(String string) {
16                  if (string == null)                  if (string == null)
# Line 49  public abstract class ServerSettings<T1, Line 54  public abstract class ServerSettings<T1,
54                  return title;                  return title;
55          }          }
56    
         abstract public boolean parsePropertiesString(String propString)  
                         throws MalformedURLException ;  
   
57  }  }

Legend:
Removed from v.1292  
changed lines
  Added in v.1295

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26