|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The policy interface for copying files.
| Method Summary | |
CharConversion |
fromSource(File src)
|
boolean |
overwrite(File src,
File dst)
Invoked when an existing file is about to be overwritten. |
boolean |
start(File src,
Location dst)
Invoked when a file copy operation from src to dst is started. |
CharConversion |
toDest(Location dst)
|
| Method Detail |
public boolean start(File src,
Location dst)
throws AbortedException
src - the path to copy fromdst - the path to copy to
AbortedException - if the entire ongoing operation should be aborted
public boolean overwrite(File src,
File dst)
throws AbortedException
src - the path to the file that is about to overwritedst - the path to the file that is about to be overwritten
AbortedException - if the entire ongoing operation should be aborted
public CharConversion fromSource(File src)
throws AbortedException
AbortedException
public CharConversion toDest(Location dst)
throws AbortedException
AbortedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||