|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.updater.service.resource.FileSystemResource
fr.paris.lutece.plugins.updater.service.resource.DirectoryTreeResource
public class DirectoryTreeResource
Resource of type Directory Tree
| Field Summary |
|---|
| Fields inherited from class fr.paris.lutece.plugins.updater.service.resource.FileSystemResource |
|---|
DELETE_NOW, DELETE_ON_EXIT |
| Constructor Summary | |
|---|---|
DirectoryTreeResource(java.lang.String strRootPath,
java.lang.String strDirectoryPath)
Constructor |
|
| Method Summary | |
|---|---|
void |
copy(java.lang.String strDestination)
Move file system resources |
void |
delete(int nMode)
Delete file system resources |
| Methods inherited from class fr.paris.lutece.plugins.updater.service.resource.FileSystemResource |
|---|
getFullPath, getRelativePath, getRootPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryTreeResource(java.lang.String strRootPath,
java.lang.String strDirectoryPath)
strRootPath - The root pathstrDirectoryPath - The relative path of the resource| Method Detail |
|---|
public void copy(java.lang.String strDestination)
throws java.io.IOException
copy in class FileSystemResourcestrDestination - The new location
java.io.IOException - If an error occurs
public void delete(int nMode)
throws java.io.IOException
delete in class FileSystemResourcenMode - The mode of deletion
java.io.IOException - If an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||