JODF > Tutorial > Display text

The example shows you how to open a text document and display document's content as plain text.