|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.FileOutputStream org.pentaho.di.core.util.SortedFileOutputStream
public class SortedFileOutputStream
Constructor Summary | |
---|---|
SortedFileOutputStream(File file)
CT |
Method Summary | |
---|---|
void |
close()
If internally stored content is available, sorting keys of content, then sending content to file. |
void |
flush()
Catch flush method, don't do nothing |
void |
setLogger(LogChannelInterface log)
Setter |
void |
write(byte[] b)
Appending to internal StringBuffer, instead of immediately writing to the file |
void |
write(byte[] b,
int off,
int len)
Appending to internal StringBuffer, instead of immediately writing to the file |
void |
write(int b)
Appending to internal StringBuffer, instead of immediately writing to the file |
Methods inherited from class java.io.FileOutputStream |
---|
getChannel, getFD |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortedFileOutputStream(File file) throws FileNotFoundException
file
-
FileNotFoundException
Method Detail |
---|
public void setLogger(LogChannelInterface log)
log
- public void write(byte[] b, int off, int len) throws IOException
write
in class FileOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FileOutputStream
IOException
public void write(int b) throws IOException
write
in class FileOutputStream
IOException
public void flush() throws IOException
flush
method, don't do nothing
flush
in interface Flushable
flush
in class OutputStream
IOException
public void close() throws IOException
FileOutputStream.close()
method.
close
in interface Closeable
close
in class FileOutputStream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |