Class InputStreamSource

  • All Implemented Interfaces:
    com.xebialabs.deployit.server.api.importer.ImportSource

    public class InputStreamSource
    extends java.lang.Object
    implements com.xebialabs.deployit.server.api.importer.ImportSource
    • Constructor Summary

      Constructors 
      Constructor Description
      InputStreamSource​(java.lang.String fileName, java.io.InputStream stream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cleanUp()  
      java.io.File getFile()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InputStreamSource

        public InputStreamSource​(java.lang.String fileName,
                                 java.io.InputStream stream)
    • Method Detail

      • getFile

        public java.io.File getFile()
        Specified by:
        getFile in interface com.xebialabs.deployit.server.api.importer.ImportSource
      • cleanUp

        public void cleanUp()
        Specified by:
        cleanUp in interface com.xebialabs.deployit.server.api.importer.ImportSource
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object