com.izforge.izpack.util.os
Class FileQueueCopy
java.lang.Object
com.izforge.izpack.util.os.FileQueueCopy
- All Implemented Interfaces:
- FileQueueOperation
- Direct Known Subclasses:
- FileQueueMove
public class FileQueueCopy
- extends Object
- implements FileQueueOperation
File queue copy operation (Windows Setup API)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fromFile
protected File fromFile
toFile
protected File toFile
copyStyle
protected int copyStyle
FileQueueCopy
public FileQueueCopy(File fromFile,
File toFile)
FileQueueCopy
public FileQueueCopy(File fromFile,
File toFile,
boolean deleteSource,
boolean forceInUse)
setDeleteSource
public void setDeleteSource(boolean flag)
setForceInUse
public void setForceInUse(boolean flag)
setInUseNeedsReboot
public void setInUseNeedsReboot(boolean flag)
setLanguageAware
public void setLanguageAware(boolean flag)
setNewerOrSame
public void setNewerOrSame(boolean flag)
setNewerOnly
public void setNewerOnly(boolean flag)
setReplaceOnly
public void setReplaceOnly(boolean flag)
setOverwrite
public void setOverwrite(boolean flag)
- Overwrite any existing destination file(s).
- Parameters:
overwrite - if true force overwriting of destination file(s) even if the destination
file(s) are younger than the corresponding source file. Default is false.
addTo
public void addTo(WinSetupFileQueue filequeue)
throws IOException
- Specified by:
addTo in interface FileQueueOperation
- Throws:
IOException
Copyright © 2018. All rights reserved.