|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.hearc.I04_05s08.Ontology.OntFile
An base class for any files in Ontology
Field Summary | |
private File |
file
The file |
private String |
filename
The path of the file |
private FileInputStream |
inFile
The file's input stream |
Constructor Summary | |
OntFile()
Construct an untitled file |
|
OntFile(String filename)
Construct the file |
Method Summary | |
void |
close()
Close the file |
String |
getFilename()
Return the path of the file |
String |
getName()
File's name |
FileInputStream |
getReader()
Return a reader for the file |
private boolean |
initReader()
Build the file's reader |
void |
setFilename(String filename)
Set the path of the file |
String |
toString()
String representation of the file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private String filename
private FileInputStream inFile
private File file
Constructor Detail |
public OntFile(String filename)
filename
- the path of the filepublic OntFile()
Method Detail |
public String toString()
public String getName()
public FileInputStream getReader()
public void close()
public void setFilename(String filename)
filename
- the file's pathpublic String getFilename()
private boolean initReader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC