org.ow2.weblab.content.binary
Class BinaryFolderContentManager
java.lang.Object
org.ow2.weblab.content.FolderContentManager
org.ow2.weblab.content.binary.BinaryFolderContentManager
Deprecated. this class is obsolete. Use FolderContentManager directly.
public class BinaryFolderContentManager
- extends FolderContentManager
| Fields inherited from class org.ow2.weblab.content.FolderContentManager |
BUFFER_SIZE, client, CONTENT_PATH, CONTENT_PROPERTIES, folder, logger, propertyFileName, propertyKey, SIMPLE_RESOURCE_RDF_HELPER, WEBDAV_HOST, WEBDAV_PASSWORD, WEBDAV_USERNAME, webdavHost, webdavPassword, webdavUserName |
| Methods inherited from class org.ow2.weblab.content.FolderContentManager |
checkFolder, copyFile, getFileFromResourceAndPredicate, getFileFromWLRi, getFileFromWLRi, getFolder, getNativeFileFromResource, getNormalisedFileFromResource, getPropertyValue, saveNativeContent, saveNativeContentOnWebDAV, saveNormalisedContent, setFolder, writeStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryFolderContentManager
protected BinaryFolderContentManager(java.lang.String folderPath)
throws org.ow2.weblab.core.extended.exception.WebLabUncheckedException
- Deprecated.
- Throws:
org.ow2.weblab.core.extended.exception.WebLabUncheckedException
copyAFile
protected void copyAFile(java.io.File file,
java.io.File newFile)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
- Deprecated.
- Parameters:
file - Input filenewFile - Output file
- Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException - If an IOException occurs.
saveFile
public void saveFile(java.io.File file,
java.lang.String uri)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
- Deprecated.
- Add new file to the content manager (copy it to the internal repository)
- Parameters:
file - file to copyuri - identify the future content
- Throws:
org.ow2.weblab.core.extended.exception.WebLabCheckedException
getInstance
public static BinaryFolderContentManager getInstance(java.lang.String folderPath)
throws org.ow2.weblab.core.extended.exception.WebLabUncheckedException
- Deprecated.
- Parameters:
folderPath - The path to the folder.
- Returns:
- The BinaryFolderContentManager
- Throws:
org.ow2.weblab.core.extended.exception.WebLabUncheckedException
getInstance
public static BinaryFolderContentManager getInstance()
throws org.ow2.weblab.core.extended.exception.WebLabUncheckedException
- Deprecated.
- Returns:
- The BinaryFolderContentManager
- Throws:
org.ow2.weblab.core.extended.exception.WebLabUncheckedException
Copyright © 2004-2011. All Rights Reserved.