|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.meshcms.util.DirectoryParser
org.meshcms.extra.SiteSynchronizer
| Field Summary |
| Fields inherited from class org.meshcms.util.DirectoryParser |
initialDir, processStartDir, recursive |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
SiteSynchronizer(WebSite sourceSite,
WebSite targetSite,
UserInfo targetUser)
|
|
| Method Summary | |
java.io.Writer |
getWriter()
Returns the writer (if any). |
boolean |
isCopyConfig()
|
boolean |
isCopySiteInfo()
|
protected void |
postProcess()
This method is called at the end of the processing. |
protected boolean |
preProcessDirectory(java.io.File file,
Path path)
|
protected void |
processFile(java.io.File file,
Path path)
This method will be called for any file found while parsing the base directory. |
void |
setCopyConfig(boolean copyConfig)
|
void |
setCopySiteInfo(boolean copySiteInfo)
|
void |
setWriter(java.io.Writer writer)
Sets the writer for logging (usually the writer of the web page). |
| Methods inherited from class org.meshcms.util.DirectoryParser |
getInitialDir, isProcessStartDir, isRecursive, isSorted, postProcessDirectory, preProcess, process, run, setInitialDir, setInitialDir, setProcessStartDir, setRecursive, setSorted |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SiteSynchronizer(WebSite sourceSite,
WebSite targetSite,
UserInfo targetUser)
| Method Detail |
public void setWriter(java.io.Writer writer)
public java.io.Writer getWriter()
protected boolean preProcessDirectory(java.io.File file,
Path path)
preProcessDirectory in class DirectoryParser
protected void processFile(java.io.File file,
Path path)
DirectoryParser
processFile in class DirectoryParserfile - the file to be processedpath - the path of the file (relative to the base directory)protected void postProcess()
DirectoryParserDirectoryParser.preProcess() returned false.
The base implementation does nothing.
postProcess in class DirectoryParserpublic boolean isCopySiteInfo()
public void setCopySiteInfo(boolean copySiteInfo)
public boolean isCopyConfig()
public void setCopyConfig(boolean copyConfig)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||