Class TextFileOutputData.FileStream
- java.lang.Object
-
- org.pentaho.di.trans.steps.textfileoutput.TextFileOutputData.FileStream
-
- Enclosing class:
- TextFileOutputData
public class TextFileOutputData.FileStream extends Object
-
-
Constructor Summary
Constructors Constructor Description FileStream(OutputStream fileOutputStream, CompressionOutputStream compressedOutputStream, BufferedOutputStream bufferedOutputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
BufferedOutputStream
getBufferedOutputStream()
CompressionOutputStream
getCompressedOutputStream()
OutputStream
getFileOutputStream()
boolean
isDirty()
boolean
isOpen()
void
setBufferedOutputStream(BufferedOutputStream outputStream)
void
setCompressedOutputStream(CompressionOutputStream compressedOutputStream)
void
setDirty(boolean dirty)
void
setFileOutputStream(OutputStream fileOutputStream)
-
-
-
Constructor Detail
-
FileStream
public FileStream(OutputStream fileOutputStream, CompressionOutputStream compressedOutputStream, BufferedOutputStream bufferedOutputStream)
-
-
Method Detail
-
isDirty
public boolean isDirty()
-
setDirty
public void setDirty(boolean dirty)
-
flush
public void flush() throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Throws:
IOException
-
isOpen
public boolean isOpen()
-
getBufferedOutputStream
public BufferedOutputStream getBufferedOutputStream()
-
setBufferedOutputStream
public void setBufferedOutputStream(BufferedOutputStream outputStream)
-
getFileOutputStream
public OutputStream getFileOutputStream()
-
setFileOutputStream
public void setFileOutputStream(OutputStream fileOutputStream)
-
getCompressedOutputStream
public CompressionOutputStream getCompressedOutputStream()
-
setCompressedOutputStream
public void setCompressedOutputStream(CompressionOutputStream compressedOutputStream)
-
-