org.eclipse.wst.server.core.util
Class WebResource
java.lang.Object
org.eclipse.wst.server.core.util.WebResource
- All Implemented Interfaces:
- IModuleArtifact
- public class WebResource
- extends java.lang.Object
- implements IModuleArtifact
|
Constructor Summary |
WebResource(IModule module,
org.eclipse.core.runtime.IPath path)
Create a new reference to a Web resource (HTML, GIF, etc. on a server). |
|
Method Summary |
IModule |
getModule()
Returns the module that this artifact is a part of. |
org.eclipse.core.runtime.IPath |
getPath()
Return the relative path to the artifact within the module. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WebResource
public WebResource(IModule module,
org.eclipse.core.runtime.IPath path)
- Create a new reference to a Web resource (HTML, GIF, etc. on a server).
- Parameters:
module - a modulepath - a relative path within the module
getModule
public IModule getModule()
- Description copied from interface:
IModuleArtifact
- Returns the module that this artifact is a part of.
- Specified by:
getModule in interface IModuleArtifact
- Returns:
- the module that this artifact is contained in
- See Also:
IModuleArtifact.getModule()
getPath
public org.eclipse.core.runtime.IPath getPath()
- Return the relative path to the artifact within the module.
- Returns:
- the relative path
toString
public java.lang.String toString()
- See Also:
Object.toString()