org.neuroph.util.io
Class URLOutputAdapter

java.lang.Object
  extended by org.neuroph.util.io.OutputStreamAdapter
      extended by org.neuroph.util.io.URLOutputAdapter
All Implemented Interfaces:
OutputAdapter

public class URLOutputAdapter
extends OutputStreamAdapter

Implementation of OutputAdapter interface for writing neural network outputs to URL.

Author:
Zoran Sevarac
See Also:
OutputAdapter

Field Summary
 
Fields inherited from class org.neuroph.util.io.OutputStreamAdapter
bufferedWriter
 
Constructor Summary
URLOutputAdapter(String url)
          Creates a new URLOutputAdapter by opening a connection to URL specified by the string url input param
URLOutputAdapter(URL url)
          Creates a new URLOutputAdapter by opening a connection to URL specified by the url input param
 
Method Summary
 
Methods inherited from class org.neuroph.util.io.OutputStreamAdapter
close, writeOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLOutputAdapter

public URLOutputAdapter(URL url)
                 throws IOException
Creates a new URLOutputAdapter by opening a connection to URL specified by the url input param

Parameters:
url - URL object to connect to.
Throws:
IOException - if connection

URLOutputAdapter

public URLOutputAdapter(String url)
                 throws MalformedURLException,
                        IOException
Creates a new URLOutputAdapter by opening a connection to URL specified by the string url input param

Parameters:
url - URL to connect to as string.
Throws:
IOException - if connection
MalformedURLException


Copyright © 2012. All Rights Reserved.