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 IOException,
URISyntaxException
- Copy handler.
If already modified, return handler's file.
- Parameters:
file
- the original filehandler
- the handler to copy
- Returns:
- handler's copy
- Throws:
IOException
- for any error
URISyntaxException
- for any URI syntax error
Copyright © 2010 JBoss, A division of Red Hat, Inc. All Rights Reserved.