|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.archive.io.DiskByteQueue.FlipFileOutputStream
class DiskByteQueue.FlipFileOutputStream
An output stream that supports the DiskBackedByteQueue, by always appending to the current outFile.
| Field Summary | |
|---|---|
(package private) java.io.FileOutputStream |
fileStream
|
(package private) java.io.BufferedOutputStream |
outStream
|
| Constructor Summary | |
|---|---|
DiskByteQueue.FlipFileOutputStream()
Constructor |
|
| Method Summary | |
|---|---|
void |
close()
(non-Javadoc) |
void |
flush()
(non-Javadoc) |
protected void |
setupStreams()
|
void |
write(byte[] b)
(non-Javadoc) |
void |
write(byte[] b,
int off,
int len)
(non-Javadoc) |
void |
write(int b)
(non-Javadoc) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.io.BufferedOutputStream outStream
java.io.FileOutputStream fileStream
| Constructor Detail |
|---|
public DiskByteQueue.FlipFileOutputStream()
throws java.io.FileNotFoundException
java.io.FileNotFoundException - if unable to create FileOutStream.| Method Detail |
|---|
protected void setupStreams()
throws java.io.FileNotFoundException
java.io.FileNotFoundException
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionOutputStream.write(int)
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionOutputStream.write(byte[], int, int)
public void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionOutputStream.write(byte[])
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOExceptionOutputStream.close()
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionOutputStream.flush()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||