com.ibm.tivoli.maximo.cos

Class COSDataSource

  • java.lang.Object
    • com.ibm.tivoli.maximo.cos.COSDataSource
  • All Implemented Interfaces:
    javax.activation.DataSource


    public class COSDataSource
    extends java.lang.Object
    implements javax.activation.DataSource
    • Constructor Summary

      Constructors 
      Constructor and Description
      COSDataSource(java.lang.String cosFile) 
    • Constructor Detail

      • COSDataSource

        public COSDataSource(java.lang.String cosFile)
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
        Specified by:
        getContentType in interface javax.activation.DataSource
      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws java.io.IOException
        Specified by:
        getInputStream in interface javax.activation.DataSource
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface javax.activation.DataSource
      • getOutputStream

        public java.io.OutputStream getOutputStream()
                                             throws java.io.IOException
        Specified by:
        getOutputStream in interface javax.activation.DataSource
        Throws:
        java.io.IOException