|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.server.content.spi.fs.FileSystemLoader
public class FileSystemLoader
Nested Class Summary | |
---|---|
static interface |
FileSystemLoader.ContentLoader Callback invoked when local content is not available |
static interface |
FileSystemLoader.LockReleaser This interface is for outside callers to release a lock. |
Constructor Summary | |
---|---|
FileSystemLoader(StagingConfiguration stagingConfig, CacheDeleteQueue cacheDeleteQueue, java.lang.String... specialFiles) Create a new file system loader |
Method Summary | |
---|---|
java.io.File |
clearCache() Clear the contents of the entire FileSystemLoader root directory into a new configured archive directory |
java.io.File |
getStagingDir() |
ContentStream |
readAndStoreStream(FileSystemLoader.ContentLoader contentLoader, java.lang.String path, java.lang.String... lockKeyList) Read the stream from the underlying store; if not found, refresh the stream |
boolean |
removeFile(java.lang.String path, java.lang.String... lockKeyList) Remove the file. |
void |
setConversionCacheMap(java.util.Map<java.lang.String,java.lang.String> map) |
boolean |
tryRemoveFile(java.lang.String path, java.lang.String... lockKeyList) Try to remove the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSystemLoader(StagingConfiguration stagingConfig, CacheDeleteQueue cacheDeleteQueue, java.lang.String... specialFiles) throws java.io.IOException
stagingConfig
- the staging configurationspecialFiles
- a list of file names to be copied if the staging root movesjava.io.IOException
Method Detail |
---|
public void setConversionCacheMap(java.util.Map<java.lang.String,java.lang.String> map)
public java.io.File clearCache() throws java.io.IOException
java.io.IOException
- if an error occurspublic ContentStream readAndStoreStream(FileSystemLoader.ContentLoader contentLoader, java.lang.String path, java.lang.String... lockKeyList) throws java.io.IOException, oracle.stellent.ridc.IdcClientException
path
- the path to the local streamcontentLoader
- the object used to load the live streamlockKeyList
- the key to use to obtain the write lockjava.io.IOException
oracle.stellent.ridc.IdcClientException
public boolean tryRemoveFile(java.lang.String path, java.lang.String... lockKeyList)
path
- the relative pathpublic boolean removeFile(java.lang.String path, java.lang.String... lockKeyList)
path
- the relative pathpublic java.io.File getStagingDir()
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |