org.codehaus.xfire.util
Class Resolver

java.lang.Object
  extended by org.codehaus.xfire.util.Resolver

public class Resolver
extends Object

Resolves a File, classpath resource, or URL according to the follow rules:

Author:
Dan Diephouse

Constructor Summary
Resolver(String path)
           
Resolver(String baseUriStr, String uriStr)
           
 
Method Summary
 File getFile()
           
 InputStream getInputStream()
           
 URI getURI()
           
 URL getURL()
           
 boolean isFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resolver

public Resolver(String path)
         throws IOException
Throws:
IOException

Resolver

public Resolver(String baseUriStr,
                String uriStr)
         throws IOException
Throws:
IOException
Method Detail

getURI

public URI getURI()

getURL

public URL getURL()

getInputStream

public InputStream getInputStream()

isFile

public boolean isFile()

getFile

public File getFile()


Copyright © 2004-2013. All Rights Reserved.