asit.common
Class BufferDataSource

java.lang.Object
  extended byasit.common.BufferDataSource
All Implemented Interfaces:
DataSource

public class BufferDataSource
extends Object
implements DataSource


Field Summary
 BinaryDocument bdoc_
           
 
Constructor Summary
BufferDataSource(BinaryDocument bodc)
           
 
Method Summary
 String getContentType()
           
 InputStream getInputStream()
           
 String getName()
           
 OutputStream getOutputStream()
           
 Element getRequest()
           
 Element sendRequest(String address)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bdoc_

public BinaryDocument bdoc_
Constructor Detail

BufferDataSource

public BufferDataSource(BinaryDocument bodc)
Method Detail

getContentType

public String getContentType()
Specified by:
getContentType in interface DataSource

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in interface DataSource
Throws:
IOException

getName

public String getName()
Specified by:
getName in interface DataSource

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in interface DataSource
Throws:
IOException

getRequest

public Element getRequest()
                   throws ClientException
Throws:
ClientException

sendRequest

public Element sendRequest(String address)
                    throws ClientException
Throws:
ClientException


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.