org.jboss.virtual.plugins.copy
Interface CopyMechanism
- All Known Implementing Classes:
- AbstractCopyMechanism, ExactCopyMechanism, ExplodedCopyMechanism, TempCopyMechanism, UnjarCopyMechanism, UnpackCopyMechanism
public interface CopyMechanism
Copy mechanism to be used in VFSUtils.
- Author:
- Ales Justin
copy
VirtualFile copy(VirtualFile file,
VirtualFileHandler handler)
throws java.io.IOException,
java.net.URISyntaxException
- Copy handler.
If already modified, return handler's file.
- Parameters:
file
- the original filehandler
- the handler to copy
- Returns:
- handler's copy
- Throws:
java.io.IOException
- for any error
java.net.URISyntaxException
- for any URI syntax error