com.jaspersoft.jasperserver.irplugin
Class BinaryFileDataSource

java.lang.Object
  extended by javax.activation.FileDataSource
      extended by com.jaspersoft.jasperserver.irplugin.BinaryFileDataSource
All Implemented Interfaces:
javax.activation.DataSource

public class BinaryFileDataSource
extends javax.activation.FileDataSource

Author:
gtoffoli

Constructor Summary
BinaryFileDataSource(java.io.File file)
          Creates a new instance of BinaryFileDataSource
 
Method Summary
 java.lang.String getContentType()
           
 
Methods inherited from class javax.activation.FileDataSource
getFile, getInputStream, getName, getOutputStream, setFileTypeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryFileDataSource

public BinaryFileDataSource(java.io.File file)
Creates a new instance of BinaryFileDataSource

Method Detail

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface javax.activation.DataSource
Overrides:
getContentType in class javax.activation.FileDataSource


Copyright © 2007. All Rights Reserved.