|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IOHandler
This interface is used by the YAM parser to initialise IO streams. It is provided in order to allow API users to supply IO management if needed.
| Method Summary | |
|---|---|
boolean |
exists(String path)
Check a path for existence. |
boolean |
existsInContext(String path)
Check a path for existence relative to the context path. |
String |
getBibAnchorPrefix()
Get the prefix added to citation keys, when forming a reference to a bibiography file entry |
org.springframework.core.io.UrlResource |
getBibPageUrl()
Get the URL within which citation keys will be resolved. |
String |
getContextPath()
Get the path in which to check for existence of relative links. |
String |
getCreatePageUrl()
Get the URL which non-existent links will be pointed at (which presumably is the "create new page" URL for the parent wiki). |
Reader |
getReader(String path)
Get a reader from a path. |
Reader |
getReaderInContext(String path)
Get a reader from a path relative to the context path. |
void |
setBibAnchorPrefix(String bibAnchorPrefix)
Set the prefix added to citation keys, when forming a reference to a bibiography file entry |
void |
setBibPageUrl(org.springframework.core.io.UrlResource bibPageUrl)
Set the URL within which citation keys will be resolved. |
void |
setContextPath(String contextPath)
Set the path in which to check for existence of relative links. |
void |
setCreatePageUrl(String createPageUrl)
Set the URL which non-existent links will be pointed at (which presumably is the "create new page" URL for the parent wiki). |
void |
setCreatePageUrl(org.springframework.core.io.UrlResource createPageUrl)
Set the URL which non-existent links will be pointed at (which presumably is the "create new page" URL for the parent wiki). |
void |
setSourceDir(File sourceDir)
Set the source directory file. |
| Method Detail |
|---|
Reader getReader(String path)
throws IOException
IOExceptionboolean exists(String path)
Reader getReaderInContext(String path)
throws IOException
IOExceptionboolean existsInContext(String path)
void setSourceDir(File sourceDir)
String getContextPath()
void setContextPath(String contextPath)
contextPath - the path to search in.String getCreatePageUrl()
void setCreatePageUrl(String createPageUrl)
createPageUrl - the link to point to.void setCreatePageUrl(org.springframework.core.io.UrlResource createPageUrl)
createPageUrl - the link to point to.org.springframework.core.io.UrlResource getBibPageUrl()
setBibPageUrl(UrlResource)void setBibPageUrl(org.springframework.core.io.UrlResource bibPageUrl)
setBibAnchorPrefix method
bibPageUrl - the URL of the bibliogrpahy.void setBibAnchorPrefix(String bibAnchorPrefix)
bibAnchorPrefix - The prefix added to citation keys.setBibPageUrl(UrlResource)String getBibAnchorPrefix()
setBibPageUrl(UrlResource)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||