wt.step.processor.content
Class ContentHandler
java.lang.Object
wt.step.processor.content.ContentHandler
- public class ContentHandler
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_SIZE
private static final int BUFFER_SIZE
- See Also:
- Constant Field Values
CONTENT_BUFFER
private static final byte[] CONTENT_BUFFER
_fileDirectory
private File _fileDirectory
ContentHandler
public ContentHandler(File fileDirectory)
getContentDirectory
public String getContentDirectory()
downloadContentsOf
public void downloadContentsOf(FormatContentHolder document)
throws WTException,
PropertyVetoException,
IOException
- Throws:
WTException
PropertyVetoException
IOException
withoutFilePath
private String withoutFilePath(String filePath)
uploadContentsTo
public void uploadContentsTo(FormatContentHolder document,
String documentNumber,
Vector fileNames)
throws WTException,
IOException,
PropertyVetoException
- Throws:
WTException
IOException
PropertyVetoException
stripPrefixDir
static String stripPrefixDir(String dirName,
String pathName)