|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
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 |
---|
public boolean exists(String path)
public boolean existsInContext(String path)
public String getBibAnchorPrefix()
public org.springframework.core.io.UrlResource getBibPageUrl()
public String getContextPath()
public String getCreatePageUrl()
public Reader getReader(String path)
public Reader getReaderInContext(String path)
public void setBibAnchorPrefix(String bibAnchorPrefix)
public void setBibPageUrl(org.springframework.core.io.UrlResource bibPageUrl)
public void setContextPath(String contextPath)
public void setCreatePageUrl(String createPageUrl)
public void setCreatePageUrl(org.springframework.core.io.UrlResource createPageUrl)
public void setSourceDir(File sourceDir)
Groovy Documentation