at.gv.egiz.pdfas.impl.api.commons
Class TextDataSourceAdapter

java.lang.Object
  extended byat.gv.egiz.pdfas.impl.input.TextDataSourceImpl
      extended byat.gv.egiz.pdfas.impl.api.commons.TextDataSourceAdapter
All Implemented Interfaces:
DataSource, TextDataSource

public class TextDataSourceAdapter
extends TextDataSourceImpl

Adapter that converts an API DataSource to a framework TextDataSource.

Author:
wprinz

Field Summary
protected  DataSource apiDataSource
          The API DataSource to be adapted to a framework TextDataSource.
 
Fields inherited from class at.gv.egiz.pdfas.impl.input.TextDataSourceImpl
text
 
Constructor Summary
TextDataSourceAdapter(DataSource apiDataSource)
          Constructor.
 
Methods inherited from class at.gv.egiz.pdfas.impl.input.TextDataSourceImpl
createInputStream, getAsByteArray, getLength, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

apiDataSource

protected DataSource apiDataSource
The API DataSource to be adapted to a framework TextDataSource.

Constructor Detail

TextDataSourceAdapter

public TextDataSourceAdapter(DataSource apiDataSource)
                      throws UnsupportedEncodingException
Constructor.

Parameters:
apiDataSource - The API DataSource to be adapted to a framework TextDataSource.
Throws:
UnsupportedEncodingException


Copyright © 2006-2010. All Rights Reserved.