com.xebialabs.deployit.service.importer.source
Class InputStreamSource

java.lang.Object
  extended by com.xebialabs.deployit.service.importer.source.InputStreamSource
All Implemented Interfaces:
com.xebialabs.deployit.server.api.importer.ImportSource
Direct Known Subclasses:
ByteArraySource

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


Constructor Summary
InputStreamSource(java.lang.String fileName, java.io.InputStream stream)
           
 
Method Summary
 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