public class DisplayModelDaoJena extends Object implements DisplayModelDao
| Modifier and Type | Field and Description |
|---|---|
protected static com.hp.hpl.jena.rdf.model.Property |
HAS_TEXT_REPRESENTATION |
protected static String |
MENU_N3_FILE |
protected static String |
MENU_N3_FILE_BACKUP |
protected static com.hp.hpl.jena.rdf.model.Resource |
MENU_TEXT_RES |
| Constructor and Description |
|---|
DisplayModelDaoJena(WebappDaoFactoryJena wdfj) |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFile(File sourceFile,
File destFile) |
String |
getDisplayModel(javax.servlet.ServletContext context)
ServletContext should only be used for getRealPath()
|
void |
replaceDisplayModel(String n3,
javax.servlet.ServletContext context)
ServletContext should only be used for getRealPath()
|
protected static final String MENU_N3_FILE
protected static final String MENU_N3_FILE_BACKUP
protected static com.hp.hpl.jena.rdf.model.Resource MENU_TEXT_RES
protected static com.hp.hpl.jena.rdf.model.Property HAS_TEXT_REPRESENTATION
public DisplayModelDaoJena(WebappDaoFactoryJena wdfj)
public void replaceDisplayModel(String n3, javax.servlet.ServletContext context) throws Exception
DisplayModelDaoreplaceDisplayModel in interface DisplayModelDaoExceptionpublic String getDisplayModel(javax.servlet.ServletContext context) throws IOException
DisplayModelDaogetDisplayModel in interface DisplayModelDaoIOExceptionpublic static void copyFile(File sourceFile, File destFile) throws IOException
IOExceptionCopyright © 2016. All rights reserved.