websphinx.workbench
Class ConcatAction
java.lang.Object
|
+--websphinx.workbench.ConcatAction
- All Implemented Interfaces:
- Action, CrawlListener, java.io.Serializable
- public class ConcatAction
- extends java.lang.Object
- implements Action, CrawlListener
- See Also:
- Serialized Form
Field Summary |
(package private) Concatenator |
concat
|
(package private) java.lang.String |
divider
|
(package private) java.lang.String |
epilog
|
(package private) java.io.File |
file
|
(package private) java.lang.String |
filename
|
(package private) java.lang.String |
footer
|
(package private) java.lang.String |
header
|
private boolean |
oldSync
|
(package private) java.lang.String |
prolog
|
(package private) boolean |
useBrowser
|
Constructor Summary |
ConcatAction(java.lang.String filename,
boolean useBrowser)
|
ConcatAction(java.lang.String filename,
boolean useBrowser,
java.lang.String prolog,
java.lang.String header,
java.lang.String footer,
java.lang.String divider,
java.lang.String epilog)
|
Methods inherited from class java.lang.Object |
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
filename
java.lang.String filename
useBrowser
boolean useBrowser
prolog
java.lang.String prolog
header
java.lang.String header
footer
java.lang.String footer
divider
java.lang.String divider
epilog
java.lang.String epilog
file
transient java.io.File file
concat
transient Concatenator concat
oldSync
private transient boolean oldSync
ConcatAction
public ConcatAction(java.lang.String filename,
boolean useBrowser)
ConcatAction
public ConcatAction(java.lang.String filename,
boolean useBrowser,
java.lang.String prolog,
java.lang.String header,
java.lang.String footer,
java.lang.String divider,
java.lang.String epilog)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
same
private boolean same(java.lang.String s1,
java.lang.String s2)
getFilename
public java.lang.String getFilename()
getUseBrowser
public boolean getUseBrowser()
connected
public void connected(Crawler crawler)
- Specified by:
connected
in interface Action
disconnected
public void disconnected(Crawler crawler)
- Specified by:
disconnected
in interface Action
showit
private void showit()
visit
public void visit(Page page)
- Specified by:
visit
in interface Action
started
public void started(CrawlEvent event)
- Notify that the crawler started.
- Specified by:
started
in interface CrawlListener
stopped
public void stopped(CrawlEvent event)
- Notify that the crawler ran out of links to crawl
- Specified by:
stopped
in interface CrawlListener
cleared
public void cleared(CrawlEvent event)
- Notify that the crawler's state was cleared.
- Specified by:
cleared
in interface CrawlListener
timedOut
public void timedOut(CrawlEvent event)
- Notify that the crawler timed out.
- Specified by:
timedOut
in interface CrawlListener
paused
public void paused(CrawlEvent event)
- Notify that the crawler is paused.
- Specified by:
paused
in interface CrawlListener