com.sun.xml.ws.transport.tcp.server
Class TCPResourceLoader
java.lang.Object
com.sun.xml.ws.transport.tcp.server.TCPResourceLoader
- All Implemented Interfaces:
- ResourceLoader
public final class TCPResourceLoader
- extends Object
- implements ResourceLoader
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPResourceLoader
public TCPResourceLoader(TCPContext context)
getResource
public URL getResource(String path)
throws MalformedURLException
- Description copied from interface:
ResourceLoader
- Returns the actual location of the resource from the 'path'
that represents a virtual locaion of a file inside a web application.
- Specified by:
getResource in interface ResourceLoader
- Parameters:
path - Desiganates an absolute path within an web application, such as:
'/WEB-INF/web.xml' or some such.
- Returns:
- the actual location, if found, or null if not found.
- Throws:
MalformedURLException
getCatalogFile
public URL getCatalogFile()
throws MalformedURLException
- Description copied from interface:
ResourceLoader
- Gets the catalog XML file that should be consulted when
loading resources from this
ResourceLoader.
- Specified by:
getCatalogFile in interface ResourceLoader
- Throws:
MalformedURLException
getResourcePaths
public Set<String> getResourcePaths(String path)
- Description copied from interface:
ResourceLoader
- Returns the list of files in the given directory.
- Specified by:
getResourcePaths in interface ResourceLoader
- Returns:
- null if the path is invalid. empty if the path didn't contain
any entry in it.
- See Also:
ServletContext.getResourcePaths(String)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.