Exemplo n.º 1
0
 @Override
 public void parse(String line, ParseState state) throws ParseException {
   if (state.isMaster()) {
     state.getMaster().unknownTags.add(line);
   } else {
     state.getMedia().unknownTags.add(line);
   }
 };
 private void validateNotMaster(ParseState state) throws ParseException {
   if (state.isMaster()) {
     throw ParseException.create(ParseExceptionType.MEDIA_IN_MASTER, getTag());
   }
 }