class UniqueValuesReader extends java.lang.Object
Read a Unique Values from a text file. The text file can be in value equals color format (rgb, hex, name):
AHa=#aa0c74 AHat=#b83b1f AHcf=#964642 AHh=#78092e AHpe=#78092e AHt=#5f025a AHt3=#e76161 Aa1=#fcedcd Aa2=#94474bOr it can be in CSV format where the value is first followed by color format (rgb, hex, name):
AHa,175,0,111 AHat,192,54,22 AHcf,150,70,72 AHh,109,13,60 AHpe,232,226,82 AHt,99,0,95 AHt3,233,94,94
| Constructor and description | 
|---|
                                UniqueValuesReader
                                (java.lang.String field, java.lang.String geometryType)Create a UniqueValuesReader  | 
                        
                                UniqueValuesReader
                                () | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            java.lang.String | 
                            getField()Get the field name 
  | 
                        
 | 
                            java.lang.String | 
                            getGeometryType()Get the geometry type 
  | 
                        
 | 
                            Style | 
                            read(InputStream input)Read a GeoScript Style from an InputStream 
 
  | 
                        
 | 
                            Style | 
                            read(File file)Read a GeoScript Style from a File 
 
  | 
                        
 | 
                            Style | 
                            read(java.lang.String str)Read a GeoScript Style from a String 
 
  | 
                        
| Methods inherited from class | Name | 
|---|---|
class java.lang.Object | 
                            java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
                        
Create a UniqueValuesReader
field -  The field namegeometryType -  THe geometry typeGet the field name
Get the geometry type
Read a GeoScript Style from an InputStream
input -  An InputStreamRead a GeoScript Style from a File
file -  A FileRead a GeoScript Style from a String
str -  A String