net.artima.place
Class URLFactory

java.lang.Object
  |
  +--net.artima.place.URLFactory
All Implemented Interfaces:
java.io.Serializable

public final class URLFactory
extends java.lang.Object
implements java.io.Serializable

Jini service that produces a URL. This service can be used to wrap existing file-based resources in a network mobile servicee object. An appropriate service UI can then be used to present the file to a user.

See Also:
Serialized Form

Constructor Summary
URLFactory(java.lang.String url)
          Creates a URLFactory with passed String URL.
 
Method Summary
 java.net.URL getURL()
          Returns a URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLFactory

public URLFactory(java.lang.String url)
           throws java.net.MalformedURLException
Creates a URLFactory with passed String URL.
Method Detail

getURL

public java.net.URL getURL()
                    throws java.net.MalformedURLException
Returns a URL.