org.ow2.weblab.content.binary
Class BinaryFolderContentManager

java.lang.Object
  extended by org.ow2.weblab.content.FolderContentManager
      extended by org.ow2.weblab.content.binary.BinaryFolderContentManager

Deprecated. this class is obsolete. Use FolderContentManager directly.

public class BinaryFolderContentManager
extends FolderContentManager


Field Summary
 
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
 
Constructor Summary
protected BinaryFolderContentManager(java.lang.String folderPath)
          Deprecated.  
 
Method Summary
protected  void copyAFile(java.io.File file, java.io.File newFile)
          Deprecated.  
static BinaryFolderContentManager getInstance()
          Deprecated.  
static BinaryFolderContentManager getInstance(java.lang.String folderPath)
          Deprecated.  
 void saveFile(java.io.File file, java.lang.String uri)
          Deprecated. Add new file to the content manager (copy it to the internal repository)
 
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
 

Constructor Detail

BinaryFolderContentManager

protected BinaryFolderContentManager(java.lang.String folderPath)
                              throws org.ow2.weblab.core.extended.exception.WebLabUncheckedException
Deprecated. 
Throws:
org.ow2.weblab.core.extended.exception.WebLabUncheckedException
Method Detail

copyAFile

protected void copyAFile(java.io.File file,
                         java.io.File newFile)
                  throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
Deprecated. 
Parameters:
file - Input file
newFile - 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 copy
uri - 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.