ch.hearc.I04_05s08.Ontology
Class OntManager

java.lang.Object
  extended bych.hearc.I04_05s08.Ontology.OntManager

public class OntManager
extends Object

A library to build RDF(S)

Author:
Blanc, Yoan
Licence:
MIT
Copyright:
2005 Yoan Blanc, HE-ARC Ing�nierie

Constructor Summary
OntManager()
           
 
Method Summary
static RdfFile openRdf(String filename)
          Open a RDF file without RDF Schemas
static RdfFile openRdf(String filename, RdfsFile[] rdfs)
          Open a RDF file with RDF Schemas
static RdfsFile openRdfs(String filename)
          Build a rdfs file
static boolean saveRdf(String filename, RdfFile file)
          Save a Rdf file
static boolean saveRdfs(String filename, RdfsFile file)
          Save a rdfs file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntManager

public OntManager()
Method Detail

saveRdf

public static boolean saveRdf(String filename,
                              RdfFile file)
Save a Rdf file

Parameters:
filename - path of the output
file - rdf file
Returns:
the state of the operation

openRdf

public static RdfFile openRdf(String filename)
Open a RDF file without RDF Schemas

Parameters:
filename - path of the file
Returns:
RDF File

openRdf

public static RdfFile openRdf(String filename,
                              RdfsFile[] rdfs)
Open a RDF file with RDF Schemas

Parameters:
filename - path of the file
rdfs - RDF Schemas (null for not)
Returns:
RDF File

saveRdfs

public static boolean saveRdfs(String filename,
                               RdfsFile file)
Save a rdfs file

Parameters:
filename - path of the source file
file - the rdfs file

openRdfs

public static RdfsFile openRdfs(String filename)
Build a rdfs file

Parameters:
filename - path of the source file
Returns:
the rdfs file


A project by Blanc, Yoan – supervised by Dr. Ghorbel, Hatem.
2004 © Blanc, Yoan - HE-ARC