root / branches / v2_0_0_prep / libraries / libFMap_mapcontext / src / org / gvsig / fmap / mapcontext / rendering / legend / driver / IFMapLegendDriver.java @ 21356
History | View | Annotate | Download (617 Bytes)
1 |
|
---|---|
2 |
|
3 |
|
4 |
package org.gvsig.fmap.mapcontext.rendering.legend.driver; |
5 |
|
6 |
import java.io.File; |
7 |
import java.util.Hashtable; |
8 |
|
9 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
10 |
import org.gvsig.fmap.mapcontext.layers.FLayers; |
11 |
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend; |
12 |
|
13 |
public interface IFMapLegendDriver { |
14 |
|
15 |
boolean accept(File f); |
16 |
|
17 |
String getDescription();
|
18 |
|
19 |
String getFileExtension();
|
20 |
|
21 |
void write(FLayers layers,FLayer layer, ILegend legend, File file) throws LegendDriverException; |
22 |
|
23 |
Hashtable<FLayer, ILegend> read(FLayers layers,FLayer layer,File file) throws LegendDriverException; |
24 |
} |