Logo Search packages:      
Sourcecode: jodreports version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

net::sf::jooreports::templates::TextExtractor Class Reference

Inheritance diagram for net::sf::jooreports::templates::TextExtractor:
Inheritance graph
[legend]
Collaboration diagram for net::sf::jooreports::templates::TextExtractor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void characters (char[] characters, int start, int length) throws SAXException
void endElement (String uri, String localName, String qName) throws SAXException
void startElement (String uri, String localName, String qName, Attributes attributes) throws SAXException

Static Public Member Functions

static String extractTextAsString (File openDocumentFile) throws IOException, SAXException
static void main (String[] args) throws Exception

Private Member Functions

String collapseWhiteSpace (String text)
 TextExtractor (Writer writer)
void write (String text) throws SAXException

Static Private Member Functions

static void extractText (InputStream inputStream, Writer writer) throws IOException, SAXException

Private Attributes

StringBuffer paragraphText
final Writer writer

Static Private Attributes

static final char LF = '\n'
static final char LS = '\u2028'
static final String SPACE = " "

Detailed Description

Simple tool to extract text from an OpenDocument archive

Images are replaced with a placeholder text in the form [img:Pictures/image-path.png].

Definition at line 24 of file TextExtractor.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index