com.livis.livingtalks.web
Class ExportWebImpl
java.lang.Object
|
+--com.livis.livingtalks.web.ExportWebImpl
- public class ExportWebImpl
- extends java.lang.Object
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ExportWebImpl
public ExportWebImpl()
init
public void init()
processRequest
public void processRequest(java.lang.String request,
java.io.Writer out,
java.lang.String user)
write
public void write(java.lang.String out)
write
public void write(java.io.Writer out)
exportToFile
public void exportToFile(java.io.File file,
java.io.Writer out)
getSources
public WebMenu getSources()
- Returns:
- a webmenu of filenames (listed with no suffix) found under storePath.
- See Also:
getStorePath()
mkExportName
public java.lang.String mkExportName()
- Returns:
- a suitable name for a freshly created backup target
getExportName
public java.lang.String getExportName()
setExportName
public void setExportName(java.lang.String exportName)
setStorePath
public void setStorePath(java.lang.String storePath)
- StorePath is the path prefix of all names of files to be stored or read during im- and export.
This path should be an absolute file path prefix (not a file URL!) if the server's working directory is unknown.
(Anything past the last "/", or "\\" resp., is ignored.)
getStorePath
public java.lang.String getStorePath()
setRequestPath
public void setRequestPath(java.lang.String requestPath)
- RequestPath is the URL base relative which all names of files read during publishing are interpreted to.
This path must be an absolute URL. It works like the HTML <
base
>-tag.
(Anything past the last "/" is ignored.)
RequestPath and StorePath must point to the same thing in browser, and server notations, resp.
getRequestPath
public java.lang.String getRequestPath()