wt.clients.doc
Class SecondaryContentLoader
java.lang.Object
wt.clients.doc.SecondaryContentLoader
- public class SecondaryContentLoader
- extends Object
Method Summary |
private static void |
addContent(HTTPUploadDownload httpuploaddownload,
String sElement,
int count)
|
private static void |
addFile(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
|
private static void |
addURL(HTTPUploadDownload httpuploaddownload,
String sUrl,
String sDesc,
int count)
|
private static int |
clearUrlEntries(HTTPUploadDownload httpuploaddownload,
ContentHolder contentholder,
int count)
|
private static String[] |
getFileInfo(String sFile)
returns a String array containing oid, filename, format, & path |
private static String |
getOIDString(ContentItem contentitem)
|
private static String[] |
getURLInfo(String sURL)
returns a String array containing oid, filename, format, path & description |
private static void |
removeContent(HTTPUploadDownload httpuploaddownload,
String sElement,
int count)
|
private static void |
removeFile(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
|
private static void |
removeURL(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
|
private static void |
replaceContent(HTTPUploadDownload httpuploaddownload,
String sElement,
int count)
|
private static void |
replaceFile(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
|
private static void |
replaceURL(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
|
static HashMap |
saveContents(WTDocument doc,
String secondaryContent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verbose
private static boolean verbose
DELIM
private static String DELIM
RECORD_DELIM
private static String RECORD_DELIM
errMsg
private static String errMsg
RESOURCES
private static String RESOURCES
httpuploaddownload
private static HTTPUploadDownload httpuploaddownload
SecondaryContentLoader
public SecondaryContentLoader()
saveContents
public static HashMap saveContents(WTDocument doc,
String secondaryContent)
throws WTException,
WTPropertyVetoException,
PropertyVetoException,
MalformedURLException
- Throws:
WTException
WTPropertyVetoException
PropertyVetoException
MalformedURLException
addContent
private static void addContent(HTTPUploadDownload httpuploaddownload,
String sElement,
int count)
throws MalformedURLException
- Throws:
MalformedURLException
removeContent
private static void removeContent(HTTPUploadDownload httpuploaddownload,
String sElement,
int count)
throws MalformedURLException
- Throws:
MalformedURLException
replaceContent
private static void replaceContent(HTTPUploadDownload httpuploaddownload,
String sElement,
int count)
throws MalformedURLException
- Throws:
MalformedURLException
addFile
private static void addFile(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
removeFile
private static void removeFile(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
throws MalformedURLException
- Throws:
MalformedURLException
removeURL
private static void removeURL(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
throws MalformedURLException
- Throws:
MalformedURLException
replaceFile
private static void replaceFile(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
replaceURL
private static void replaceURL(HTTPUploadDownload httpuploaddownload,
String sFile,
int count)
throws MalformedURLException
- Throws:
MalformedURLException
addURL
private static void addURL(HTTPUploadDownload httpuploaddownload,
String sUrl,
String sDesc,
int count)
throws MalformedURLException
- Throws:
MalformedURLException
clearUrlEntries
private static int clearUrlEntries(HTTPUploadDownload httpuploaddownload,
ContentHolder contentholder,
int count)
throws MalformedURLException,
WTException
- Throws:
MalformedURLException
WTException
getFileInfo
private static String[] getFileInfo(String sFile)
- returns a String array containing oid, filename, format, & path
getURLInfo
private static String[] getURLInfo(String sURL)
- returns a String array containing oid, filename, format, path & description
getOIDString
private static String getOIDString(ContentItem contentitem)