org.xmlBlaster.client.filepoller
Class DirectoryManager
java.lang.Object
org.xmlBlaster.client.filepoller.DirectoryManager
public class DirectoryManager
- extends java.lang.Object
DirectoryManager
- Author:
- Michele Laghi
Constructor Summary |
DirectoryManager(Global global,
java.lang.String name,
java.lang.String directoryName,
long delaySinceLastFileChange,
java.lang.String filter,
java.lang.String sent,
java.lang.String discarded,
java.lang.String lockExtention,
boolean trueRegex,
boolean copyOnMove)
|
Method Summary |
byte[] |
getContent(FileInfo info)
Gets the content from the specified file as a byte[]. |
static boolean |
isFileNameCasesensitive()
|
static void |
main(java.lang.String[] args)
java org.xmlBlaster.client.filepoller.DirectoryManager -path /tmp/filepoller -filter "*.xml" -filterType simple |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryManager
public DirectoryManager(Global global,
java.lang.String name,
java.lang.String directoryName,
long delaySinceLastFileChange,
java.lang.String filter,
java.lang.String sent,
java.lang.String discarded,
java.lang.String lockExtention,
boolean trueRegex,
boolean copyOnMove)
throws XmlBlasterException
- Throws:
XmlBlasterException
isFileNameCasesensitive
public static boolean isFileNameCasesensitive()
getContent
public byte[] getContent(FileInfo info)
throws XmlBlasterException
- Gets the content from the specified file as a byte[]. If this is
not possible it will throw an exception.
- Parameters:
info
-
- Returns:
-
- Throws:
XmlBlasterException
main
public static void main(java.lang.String[] args)
- java org.xmlBlaster.client.filepoller.DirectoryManager -path /tmp/filepoller -filter "*.xml" -filterType simple
Copyright © 1999-2014 The xmlBlaster.org contributers.