Write a geoscript.layer.Layer to an InputStream, File, or String.
| Constructor and description | 
|---|
                                Writer
                                () | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            void | 
                            write(Layer layer, OutputStream out)Write the Layer to the OutputStream 
  | 
                        
 | 
                            void | 
                            write(Layer layer, File file)Write the Layer to the File 
  | 
                        
 | 
                            java.lang.String | 
                            write(Layer layer)Write the Layer to a String 
 
  | 
                        
Write the Layer to the OutputStream
layer -  The Layerout -  The OutputStreamWrite the Layer to the File
layer -  The Layerfile -  The FileWrite the Layer to a String
layer -  The Layer