|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.server.content.fs.FSStagingRoot
public class FSStagingRoot
Manages the staging root on the filesystem, allows for creating unique directories
Field Summary | |
---|---|
static java.lang.String |
CURRENT_DIR_FILENAME |
static java.lang.String |
DIR_NAME_POSTFIX |
static int |
DIR_NAME_POSTFIX_COUNTER |
Constructor Summary | |
---|---|
FSStagingRoot(java.io.File root, java.lang.String... files) |
Method Summary | |
---|---|
protected java.lang.String |
getCacheDirName() Read the cache directory name from the CURRENT_DIR_FILENAME file |
protected java.lang.String |
getNewCacheDirName() Get the name of the new cache directory. |
java.io.File |
getStagingDirectory() The currently active staging directory |
protected void |
initialize() Initialize the system |
java.io.File |
switchStagingDirectory() Switch the staging directory to a new unique root |
protected void |
writeDirectoryName(java.lang.String name) Write the directory name to the CURRENT_DIR_FILENAME file in the root directory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CURRENT_DIR_FILENAME
public static final java.lang.String DIR_NAME_POSTFIX
public static final int DIR_NAME_POSTFIX_COUNTER
Constructor Detail |
---|
public FSStagingRoot(java.io.File root, java.lang.String... files) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public java.io.File getStagingDirectory()
public java.io.File switchStagingDirectory() throws java.io.IOException
java.io.IOException
protected void initialize() throws java.io.IOException
java.io.IOException
protected void writeDirectoryName(java.lang.String name) throws java.io.IOException
CURRENT_DIR_FILENAME
file in the root directoryname
- the directory namejava.io.IOException
protected java.lang.String getNewCacheDirName()
protected java.lang.String getCacheDirName() throws java.io.IOException
CURRENT_DIR_FILENAME
filejava.io.IOException
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |