Class StreamConverter

  • All Implemented Interfaces:
    org.pentaho.platform.api.repository2.unified.Converter

    public class StreamConverter
    extends Object
    implements org.pentaho.platform.api.repository2.unified.Converter
    Converts stream of binary or character data.
    Author:
    mlowery
    • Constructor Detail

      • StreamConverter

        public StreamConverter​(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
      • StreamConverter

        public StreamConverter()
    • Method Detail

      • convert

        public InputStream convert​(org.pentaho.platform.api.repository2.unified.IRepositoryFileData data)
        Specified by:
        convert in interface org.pentaho.platform.api.repository2.unified.Converter
      • convert

        public InputStream convert​(Serializable fileId)
        Specified by:
        convert in interface org.pentaho.platform.api.repository2.unified.Converter
      • convert

        public org.pentaho.platform.api.repository2.unified.IRepositoryFileData convert​(InputStream inputStream,
                                                                                        String charset,
                                                                                        String mimeType)
        Specified by:
        convert in interface org.pentaho.platform.api.repository2.unified.Converter