|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.mrm.api.AbstractEntry
public abstract class AbstractEntry
Abstract implementation of Entry.
| Constructor Summary | |
|---|---|
protected |
AbstractEntry(FileSystem fileSystem,
DirectoryEntry parent,
String name)
Creates an entry in the specified file system with the specified parent and name. |
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
FileSystem |
getFileSystem()
Returns the repository that this entry belongs to. |
String |
getName()
Returns the name of this entry. |
DirectoryEntry |
getParent()
Returns the parent of this entry (or null if there is no parent, that is the root entry). |
int |
hashCode()
|
String |
toPath()
Returns the path of this entry relative to the root of the filesystem. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.codehaus.mojo.mrm.api.Entry |
|---|
getLastModified |
| Constructor Detail |
|---|
protected AbstractEntry(FileSystem fileSystem,
DirectoryEntry parent,
String name)
fileSystem - The filesystem.parent - The parent.name - The name of the entry.| Method Detail |
|---|
public FileSystem getFileSystem()
getFileSystem in interface Entrypublic DirectoryEntry getParent()
null if there is no parent, that is the root entry).
getParent in interface Entrynull if there is no parent, that is the root entry).public String getName()
getName in interface Entrypublic boolean equals(Object o)
equals in class Objectpublic final int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic final String toPath()
toPath in interface Entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||