parse(input, output, null);
}
public void parse(Reader input, Writer output, Map<String, Object> options) throws IOException, SlingAptParseException {
final Sink sink = new CustomAptSink(output, options);
final AptParser parser = new CustomAptParser(macroProvider);
try {
parser.parse(input, sink);
} catch(AptParseException ape) {
throw new SlingAptParseExceptionImpl(ape);
}
}