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

Method parseSkillFilterLine

code/src/java/pcgen/io/PCGVer2Parser.java:3682–3694  ·  view source on GitHub ↗

# Skills Filter @param line

(final String line)

Source from the content-addressed store, hash-verified

3680 * @param line
3681 **/
3682 private void parseSkillFilterLine(final String line)
3683 {
3684 try
3685 {
3686 int value = Integer.parseInt(line.substring(IOConstants.TAG_SKILLFILTER.length() + 1));
3687 thePC.setSkillFilter(SkillFilter.getByValue(value));
3688 }
3689 catch (NumberFormatException nfe)
3690 {
3691 final String message = "Illegal Skill Filter line ignored: " + line;
3692 warnings.add(message);
3693 }
3694 }
3695
3696 private void parseSkinColorLine(final String line)
3697 {

Callers 1

parseCachedLinesMethod · 0.95

Calls 4

getByValueMethod · 0.95
parseIntMethod · 0.80
setSkillFilterMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected