|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.gate.yam.IOHandlerImpl
class IOHandlerImpl
An implementation of the IOHandler interface.
Field Summary | |
---|---|
String |
bibAnchorPrefix
Prefix added to citation keys when forming a reference to a bibliography file entry |
org.springframework.core.io.UrlResource |
bibPageUrl
Bibliography URL |
String |
contextPath
Path to check for relative links. |
String |
createPageUrl
Create page URL. |
static Logger |
log
SInS (plain) logger |
File |
sourceDir
Source directory of the enclosing YAM file. |
Constructor Summary | |
IOHandlerImpl()
|
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. |
private void
|
readObject(ObjectInputStream ois)
Allow serialization of the Spring UrlResource field. |
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 of the enclosing YAM file. |
private void
|
writeObject(ObjectOutputStream oos)
Allow serialization of the Spring UrlResource field. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
String bibAnchorPrefix
org.springframework.core.io.UrlResource bibPageUrl
String contextPath
String createPageUrl
static Logger log
File sourceDir
Constructor Detail |
---|
IOHandlerImpl()
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)
private void readObject(ObjectInputStream ois)
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)
private void writeObject(ObjectOutputStream oos)
Groovy Documentation