|
||||||||||
| 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.FileResource
public class FileResource
Resource of type File
| Field Summary |
|---|
| Fields inherited from class fr.paris.lutece.plugins.updater.service.resource.FileSystemResource |
|---|
DELETE_NOW, DELETE_ON_EXIT |
| Constructor Summary | |
|---|---|
FileResource(java.lang.String strRootPath,
java.lang.String strFilePath)
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 FileResource(java.lang.String strRootPath,
java.lang.String strFilePath)
strRootPath - The root pathstrFilePath - The relative file path| 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 | |||||||||