|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.server.core.util.ModuleFile
public class ModuleFile
An implementation of IModuleFile
for physical files on disk or in the
workspace.
Constructor Summary | |
---|---|
ModuleFile(java.io.File file,
java.lang.String name,
IPath path)
Creates an external module file with the current modification stamp. |
|
ModuleFile(IFile file,
java.lang.String name,
IPath path)
Creates a workspace module file with the current modification stamp. |
|
ModuleFile(IFile file,
java.lang.String name,
IPath path,
long stamp)
Deprecated. use one of the top two constructors instead |
|
ModuleFile(java.lang.String name,
IPath path,
long stamp)
Creates a module file with a specific modification stamp and no file reference. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getAdapter(java.lang.Class cl)
|
long |
getModificationStamp()
Returns a modification stamp. |
IPath |
getModuleRelativePath()
Returns the module relative path to this resource. |
java.lang.String |
getName()
Returns the name of this resource. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModuleFile(IFile file, java.lang.String name, IPath path)
file
- a file in the workspacename
- a namepath
- the path to the filepublic ModuleFile(java.io.File file, java.lang.String name, IPath path)
file
- name
- path
- public ModuleFile(java.lang.String name, IPath path, long stamp)
name
- path
- stamp
- public ModuleFile(IFile file, java.lang.String name, IPath path, long stamp)
file
- name
- path
- stamp
- Method Detail |
---|
public long getModificationStamp()
IModuleFile
getModificationStamp
in interface IModuleFile
public IPath getModuleRelativePath()
IModuleResource
getModuleRelativePath
in interface IModuleResource
public java.lang.String getName()
IModuleResource
getName
in interface IModuleResource
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object getAdapter(java.lang.Class cl)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |