public class LegendFromSLDReader extends java.lang.Object implements ILegendReader
| Constructor and Description |
|---|
LegendFromSLDReader() |
| Modifier and Type | Method and Description |
|---|---|
ILegend |
read(java.io.File inFile,
int geometryType)
Create a legend from a file.
|
public ILegend read(java.io.File inFile, int geometryType) throws ReadLegendException, IncompatibleLegendReadException, java.io.IOException
ILegendReaderread in interface ILegendReadergeometryType - Geometry type of the target layerReadLegendExceptionIncompatibleLegendReadExceptionjava.io.IOException