|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cts.parser.proj.ProjParser
public class ProjParser
Parser used to read a proj file as the one used in proj4 library. It can return the list of codes available in the file or the map of parameters associated to a particular code.
| Constructor Summary | |
|---|---|
ProjParser(Registry registry)
Create a new ProjParser for the given registry. |
|
| Method Summary | |
|---|---|
Set<String> |
getSupportedCodes(Pattern regex)
Return the list of all codes defined by this registry |
Map<String,String> |
readParameters(String crsCode,
Pattern regexPattern)
Read all parameters from the registry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjParser(Registry registry)
registry - the registry to parse| Method Detail |
|---|
public Map<String,String> readParameters(String crsCode,
Pattern regexPattern)
throws IOException
crsCode - the code corresponding to the information that must be
extracted from the registryregexPattern - the pattern used to split the line that describes the
coordinate system
IOException
public Set<String> getSupportedCodes(Pattern regex)
throws IOException
regex - pattern
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||