|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.client.filepoller.Publisher
public class Publisher
Publisher
Field Summary | |
---|---|
static java.lang.String |
USE_REGEX
|
Constructor Summary | |
---|---|
Publisher(Global globOrig,
java.lang.String name,
I_PluginConfig pluginConfig)
|
Method Summary | |
---|---|
void |
activate()
|
void |
deActivate()
|
long |
getDelaySinceLastFileChange()
|
java.lang.String |
getDirectoryName()
|
java.lang.String |
getDiscarded()
|
java.lang.String |
getFileFilter()
|
java.lang.String |
getFilterType()
|
java.lang.String |
getLockExtention()
|
long |
getMaximumFileSize()
|
long |
getPollInterval()
|
java.lang.String |
getSent()
|
void |
init()
Connects to the xmlBlaster. |
boolean |
isActive()
|
boolean |
isCopyOnMove()
|
void |
publish()
Fail-safe sending files. |
void |
setCopyOnMove(boolean copyOnMove)
|
void |
setDelaySinceLastFileChange(long delaySinceLastFileChange)
|
void |
setDirectoryName(java.lang.String directoryName)
|
void |
setDiscarded(java.lang.String discarded)
|
void |
setFileFilter(java.lang.String fileFilter)
|
void |
setFilterType(java.lang.String filterType)
|
void |
setLockExtention(java.lang.String lockExtention)
|
void |
setMaximumFileSize(long maximumFileSize)
|
void |
setPollInterval(long pollInterval)
|
void |
setSent(java.lang.String sent)
|
void |
shutdown()
If an exception occurs it means it could not publish the entry |
void |
timeout(java.lang.Object userData)
You will be notified about the timeout through this method. |
java.lang.String |
toString()
|
java.lang.String |
toString(FileInfo[] infos,
int max)
Create a comma separated list of file names. |
java.lang.String |
triggerScan()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USE_REGEX
Constructor Detail |
---|
public Publisher(Global globOrig, java.lang.String name, I_PluginConfig pluginConfig) throws XmlBlasterException
XmlBlasterException
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void init() throws XmlBlasterException
XmlBlasterException
public void shutdown() throws XmlBlasterException
XmlBlasterException
public void publish()
public java.lang.String toString(FileInfo[] infos, int max)
infos
- max
- Max file names to collect
public void timeout(java.lang.Object userData)
I_Timeout
timeout
in interface I_Timeout
userData
- You get bounced back your userData which you passed
with Timeout.addTimeoutListener()I_Timeout.timeout(java.lang.Object)
public void activate() throws java.lang.Exception
java.lang.Exception
public void deActivate()
public boolean isActive()
public java.lang.String triggerScan()
public java.lang.String getDirectoryName()
public void setDirectoryName(java.lang.String directoryName)
directoryName
- The directoryName to set.public java.lang.String getFileFilter()
public void setFileFilter(java.lang.String fileFilter)
fileFilter
- The fileFilter to set.public java.lang.String getFilterType()
public void setFilterType(java.lang.String filterType)
filterType
- The filterType to set.public long getMaximumFileSize()
public void setMaximumFileSize(long maximumFileSize)
maximumFileSize
- The maximumFileSize to set.public long getPollInterval()
public void setPollInterval(long pollInterval)
pollInterval
- The pollInterval to set.public boolean isCopyOnMove()
public void setCopyOnMove(boolean copyOnMove)
copyOnMove
- The copyOnMove to set.public long getDelaySinceLastFileChange()
public void setDelaySinceLastFileChange(long delaySinceLastFileChange)
delaySinceLastFileChange
- The delaySinceLastFileChange to set.public java.lang.String getDiscarded()
public void setDiscarded(java.lang.String discarded)
discarded
- The discarded to set.public java.lang.String getLockExtention()
public void setLockExtention(java.lang.String lockExtention)
lockExtention
- The lockExtention to set.public java.lang.String getSent()
public void setSent(java.lang.String sent)
sent
- The sent to set.
|
xmlBlaster 2.2.0 client API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |