public class ProjParser extends Object
| Constructor and Description |
|---|
ProjParser(Registry registry)
Create a new ProjParser for the given registry.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public ProjParser(Registry registry)
registry - the registry to parsepublic 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 systemIOExceptionpublic Set<String> getSupportedCodes(Pattern regex) throws IOException
regex - patternIOExceptionCopyright © 2019 CNRS. All rights reserved.