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