|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.db.CmsExportPointDriver
public class CmsExportPointDriver
Provides methods to write export points to the "real" file system.
| Constructor Summary | |
|---|---|
CmsExportPointDriver(Set exportpoints)
Constructor for a CmsExportPointDriver. |
|
| Method Summary | |
|---|---|
void |
createFolder(String foldername,
String exportpoint)
Creates a new folder in the real file system. |
String |
getExportPoint(String filename)
Returns the export point path of the given resource, or null if the resource is not contained in
any export point. |
Set |
getExportPointPaths()
Returns the set of all VFS paths that are exported as an export point. |
void |
removeResource(String resourcename,
String exportpoint)
Deletes a file (or folder) in the real file sytem. |
void |
writeFile(String filename,
String exportpoint,
byte[] content)
Writes a file with the given content to the real file system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsExportPointDriver(Set exportpoints)
exportpoints - the list of export points| Method Detail |
|---|
public void createFolder(String foldername,
String exportpoint)
foldername - the complete path to the folderexportpoint - the name of the export pointpublic String getExportPoint(String filename)
null if the resource is not contained in
any export point.
filename - the uri of a resource in the OpenCms VFS
null if no export point matchespublic Set getExportPointPaths()
public void removeResource(String resourcename,
String exportpoint)
resourcename - the complete path to the resource to be deletedexportpoint - the name of the export point
public void writeFile(String filename,
String exportpoint,
byte[] content)
filename - the path of the file to writeexportpoint - the name of the export pointcontent - the contents of the file to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||