|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.tool.hbm2x.doc.DocFile
public class DocFile
Represents a documentation file.
| Constructor Summary | |
|---|---|
DocFile(String pName,
DocFolder pFolder)
Constructor. |
|
| Method Summary | |
|---|---|
String |
buildRefTo(DocFile target)
Return a path-like reference to the specified file. |
File |
getFile()
Returns the File representation. |
DocFolder |
getFolder()
Return the parent DocFolder. |
String |
getName()
Returns the name of the file. |
List |
getPathFolders()
Returns a list with the folders from root. |
String |
toString()
Return a String representation of this file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DocFile(String pName,
DocFolder pFolder)
pName - the name of the file.pFolder - the parent folder.
IllegalArgumentException - if one of the parameters is null.| Method Detail |
|---|
public String getName()
public DocFolder getFolder()
public File getFile()
public List getPathFolders()
public String buildRefTo(DocFile target)
target - the target file.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||