|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.taverna.scuflworkers.ncbi.FileStreamProcessor
public class FileStreamProcessor
This class takes an input stream and writes the contents to a file.
| Constructor Summary | |
|---|---|
FileStreamProcessor(java.io.File file)
Constructor |
|
FileStreamProcessor(java.io.File file,
int bufferSize)
Constructor |
|
FileStreamProcessor(java.lang.String filename)
Constructor |
|
| Method Summary | |
|---|---|
java.util.Map |
processStream(java.io.InputStream stream)
This method processes an input stream and outputs the result to a file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileStreamProcessor(java.lang.String filename)
filename - public FileStreamProcessor(java.io.File file)
file - The output file
public FileStreamProcessor(java.io.File file,
int bufferSize)
file - The output file.bufferSize - The buffer size used when reading/writing files.| Method Detail |
|---|
public java.util.Map processStream(java.io.InputStream stream)
throws java.io.IOException
processStream in interface StreamProcessorjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||