org.neuroph.util.io
Class URLOutputAdapter
java.lang.Object
org.neuroph.util.io.OutputStreamAdapter
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
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.