javax.robotics.util
Class RemoteFile

java.lang.Object
  extended by javax.robotics.util.RemoteFile

public class RemoteFile
extends java.lang.Object

Utility class to select a remote file.

Since:
1.1.2
Version:
04/11/2005
Author:
Carmine Lia

Constructor Summary
RemoteFile(java.lang.String xmlURL)
          Constructor from the url string.
RemoteFile(java.net.URL xmlURL)
          Constructor from the url.
 
Method Summary
 java.io.File getFile()
          Gets the remote file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteFile

public RemoteFile(java.lang.String xmlURL)
           throws java.net.MalformedURLException,
                  java.io.IOException
Constructor from the url string.

Parameters:
xmlURL - the string url of the remote file.
Throws:
java.net.MalformedURLException
java.io.IOException

RemoteFile

public RemoteFile(java.net.URL xmlURL)
           throws java.io.IOException
Constructor from the url.

Parameters:
xmlURL - the URL of the remote file.
Throws:
java.io.IOException
Method Detail

getFile

public final java.io.File getFile()
Gets the remote file.

Returns:
the file.