MCPcopy Create free account
hub / github.com/PCGen/pcgen / parseRegionLine

Method parseRegionLine

code/src/java/pcgen/io/PCGVer2Parser.java:3491–3495  ·  view source on GitHub ↗
(final String line)

Source from the content-addressed store, hash-verified

3489 * ###############################################################
3490 */
3491 private void parseRegionLine(final String line)
3492 {
3493 final String r = EntityEncoder.decode(line.substring(IOConstants.TAG_REGION.length() + 1));
3494 thePC.setRegion(Region.getConstant(r));
3495 }
3496
3497 //this method is obsolete, but left in for backward-compatibility, replaced by parseCityLine()
3498 private void parseResidenceLine(final String line)

Callers 1

parseCachedLinesMethod · 0.95

Calls 3

decodeMethod · 0.95
getConstantMethod · 0.95
setRegionMethod · 0.45

Tested by

no test coverage detected