Revision 40927 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/rendering/legend/driver/ILegendReader.java

View differences:

ILegendReader.java
23 23
 */
24 24
package org.gvsig.fmap.mapcontext.rendering.legend.driver;
25 25

  
26
import java.io.File;
27
import java.io.IOException;
28

  
29
import org.gvsig.fmap.mapcontext.exceptions.IncompatibleLegendReadException;
30
import org.gvsig.fmap.mapcontext.exceptions.ReadLegendException;
31
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend;
32

  
26 33
public interface ILegendReader {
34
    
35
    /**
36
     * 
37
     * Create a legend from a file.
38
     * 
39
     * 
40
     * @param inFile
41
     * @param geometryType Geometry type of the target layer
42
     * @return
43
     * @throws ReadLegendException
44
     * @throws IncompatibleLegendReadException
45
     * @throws IOException
46
     */
47
    public ILegend read(File inFile, int geometryType)
48
        throws ReadLegendException, IncompatibleLegendReadException, IOException; 
27 49

  
28 50
}

Also available in: Unified diff