org.esa.beam.framework.processor
Class RequestWriter

java.lang.Object
  extended by org.esa.beam.framework.processor.RequestWriter

Deprecated. since BEAM 4.11. Use the Graph Processing Framework instead.

@Deprecated
public class RequestWriter
extends Object

The request writer is a helper class that can write any number of Requests to an xml file so that the request form a valid "Request file" that can be reread by the RequestLoader.


Constructor Summary
RequestWriter()
          Deprecated. Constructs the object with default values.
 
Method Summary
 void close(Writer writer)
          Deprecated. Closes the file.
 void write(Request[] requests, File requestFile)
          Deprecated. Writes the request passed in to the File supplied.
 void write(Request[] requests, Writer writer)
          Deprecated. Writes the request passed in to the Writer supplied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestWriter

public RequestWriter()
Deprecated. 
Constructs the object with default values.

Method Detail

write

public void write(Request[] requests,
                  File requestFile)
           throws IOException
Deprecated. 
Writes the request passed in to the File supplied.

Throws:
IllegalArgumentException - when fed with null
IOException

write

public void write(Request[] requests,
                  Writer writer)
           throws IOException
Deprecated. 
Writes the request passed in to the Writer supplied.

Throws:
IllegalArgumentException - when fed with null
IOException

close

public void close(Writer writer)
           throws IOException
Deprecated. 
Closes the file. Sets the writer reference to null.

Throws:
IOException


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.