public class DisplayModelDaoJena extends Object implements DisplayModelDao
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.jena.rdf.model.Property |
HAS_TEXT_REPRESENTATION |
protected static String |
MENU_N3_FILE |
protected static String |
MENU_N3_FILE_BACKUP |
protected static org.apache.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 org.apache.jena.rdf.model.Resource MENU_TEXT_RES
protected static org.apache.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 © 2022. All rights reserved.