Mercurial > mxd2map
diff src/java/de/intevation/mxd/reader/FeatureClassReader.java @ 43:ef7ca23c4233
Added comments, done some code styling and removed typos.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 15 Apr 2011 15:44:54 +0200 |
parents | 7a927921eb6c |
children | 0bde090506f9 |
line wrap: on
line diff
--- a/src/java/de/intevation/mxd/reader/FeatureClassReader.java Fri Apr 15 14:14:49 2011 +0200 +++ b/src/java/de/intevation/mxd/reader/FeatureClassReader.java Fri Apr 15 15:44:54 2011 +0200 @@ -14,33 +14,46 @@ * * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> */ -public class FeatureClassReader implements IClassReader{ - - private static final Logger logger = Logger.getLogger(FeatureClassReader.class); - - private IClass fclass; +public class FeatureClassReader +implements IClassReader { + /** + * The Logger. + */ + private static final Logger logger = + Logger.getLogger(FeatureClassReader.class); + + /** + * Private member. + */ + private IClass fclass; private Node parent; - //Constructor - public FeatureClassReader(IClass cl) throws Exception{ - if(cl instanceof FeatureClass) + + + public FeatureClassReader(IClass cl) + throws Exception { + if(cl instanceof FeatureClass) { this.fclass = cl; - else + } + else { throw new Exception("Not a FeatureClass object!" + cl.getClass().toString()); + } } - //Methods /** * Reads the Layer content. + * + * @return Currently always false. */ - public boolean read() throws IOException{ - - logger.debug("read()"); + public boolean read() + throws IOException { + logger.debug("read() -> not implemented jet."); return false; } - public void getClassDoc() throws IOException{ + public void getClassDoc() + throws IOException { logger.debug("getLayer() -> not implemented jet."); return; }