private List<String> getPoemLines(String poetName) {
ContentFactory contentFactory = ContentFactory.getInstance();
Content provider = contentFactory.getContentProvider(poetName);
List<String> clearTextLines = provider.getLines();
Encoder encoder = new Encoder();
List<String> encodedLines = new ArrayList<String>();
for(String line: clearTextLines) {
encodedLines.add(encoder.encode(line));
}
return encodedLines;
}