com.livis.livingtalks.web
Class ImportWebImpl

java.lang.Object
  |
  +--com.livis.livingtalks.web.ImportWebImpl

public class ImportWebImpl
extends java.lang.Object


Constructor Summary
ImportWebImpl()
           
 
Method Summary
(package private) static void ()
           
 java.lang.String getConference()
           
 java.lang.String getImportUrl()
           
 java.lang.String getImportXml()
           
 java.lang.String getInOneTx()
           
 java.lang.String getMode()
           
 java.lang.String getRequestPath()
           
 WebMenu getSources()
           
 java.lang.String getStorePath()
           
 java.lang.String getUrlSource()
           
 void importFromUrl(java.net.URL url, java.io.Writer out)
           
 void importIt(java.io.Writer out, java.lang.String source)
           
 void init()
           
 void processRequest(java.lang.String request, java.io.Writer out)
           
 void setConference(java.lang.String conference)
          Conference is the name of the conference to be imported.
 void setImportUrl(java.lang.String importUrl)
           
 void setImportXml(java.lang.String importXml)
           
 void setInOneTx(java.lang.String inOneTx)
           
 void setMode(java.lang.String mode)
           
 void setRequestPath(java.lang.String requestPath)
          RequestPath is the URL base relative which all names of files read during publishing are interpreted to.
 void setStorePath(java.lang.String storePath)
          StorePath is the path prefix of all names of files to be stored or read during ex- and import.
 void setUrlSource(java.lang.String urlSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportWebImpl

public ImportWebImpl()
Method Detail

init

public void init()

processRequest

public void processRequest(java.lang.String request,
                           java.io.Writer out)

importIt

public void importIt(java.io.Writer out,
                     java.lang.String source)

importFromUrl

public void importFromUrl(java.net.URL url,
                          java.io.Writer out)

getSources

public WebMenu getSources()
Returns:
a webmenu of filenames (listed with no suffix) found under storePath.
See Also:
getStorePath()

static void ()

getMode

public java.lang.String getMode()

setMode

public void setMode(java.lang.String mode)

getUrlSource

public java.lang.String getUrlSource()

setUrlSource

public void setUrlSource(java.lang.String urlSource)

getInOneTx

public java.lang.String getInOneTx()

setInOneTx

public void setInOneTx(java.lang.String inOneTx)

getImportXml

public java.lang.String getImportXml()

setImportXml

public void setImportXml(java.lang.String importXml)

getImportUrl

public java.lang.String getImportUrl()

setImportUrl

public void setImportUrl(java.lang.String importUrl)

setConference

public void setConference(java.lang.String conference)
Conference is the name of the conference to be imported. It must match the corresponding item in the import document.

getConference

public java.lang.String getConference()

setStorePath

public void setStorePath(java.lang.String storePath)
StorePath is the path prefix of all names of files to be stored or read during ex- and import. 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()