org.backsource.utils.resource
Class ValidURLFactory

java.lang.Object
  extended byorg.backsource.utils.resource.ValidURLFactory
All Implemented Interfaces:
URLFactory

public class ValidURLFactory
extends java.lang.Object
implements URLFactory

Factory to use for URI:s that is URL:s backed by a URLStreamHandler.

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman

Constructor Summary
ValidURLFactory()
           
 
Method Summary
 java.net.URL getURL(URI uri)
          Get a URL from uri without any translations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidURLFactory

public ValidURLFactory()
Method Detail

getURL

public java.net.URL getURL(URI uri)
                    throws java.net.MalformedURLException
Get a URL from uri without any translations.

Specified by:
getURL in interface URLFactory
Throws:
java.net.MalformedURLException


Copyright © 2000-2004 Backsource. All Rights Reserved.