org.jboss.virtual.plugins.copy
Class ExactCopyMechanism
java.lang.Object
org.jboss.virtual.plugins.copy.AbstractCopyMechanism
org.jboss.virtual.plugins.copy.ExactCopyMechanism
- All Implemented Interfaces:
- CopyMechanism
- Direct Known Subclasses:
- TempCopyMechanism, UnpackCopyMechanism
public abstract class ExactCopyMechanism
- extends AbstractCopyMechanism
Excat copy mechanism.
- Author:
- Ales Justin
| Methods inherited from class org.jboss.virtual.plugins.copy.AbstractCopyMechanism |
copy, copy, createTempDirectory, exactCopy, explode, getTempDirectory, getType, isAlreadyModified, replaceOldHandler, rewrite, unjar, unpack, unwrap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExactCopyMechanism
public ExactCopyMechanism()
createCopy
protected File createCopy(File guidDir,
VirtualFileHandler handler)
throws IOException
- Description copied from class:
AbstractCopyMechanism
- Create copy destination.
- Overrides:
createCopy in class AbstractCopyMechanism
- Parameters:
guidDir - the guid dirhandler - the handler to copy
- Returns:
- copy's destination
- Throws:
IOException - for any error
doCopy
protected void doCopy(File copy,
VirtualFileHandler handler)
throws IOException
- Description copied from class:
AbstractCopyMechanism
- Do copy.
- Specified by:
doCopy in class AbstractCopyMechanism
- Parameters:
copy - the copy destinationhandler - the handler
- Throws:
IOException - for any error
Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.