public class FileConflict extends Object
Constructor and Description |
---|
FileConflict(String fileName,
String category,
String description)
Creates a new file conflict with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
String |
getDescription() |
String |
getFileName() |
EFileConflictResolution |
getResolution() |
void |
setResolution(EFileConflictResolution resolution) |
String |
toString() |
public FileConflict(String fileName, String category, String description)
getResolution()
is set to
EFileConflictResolution.RENAME
.fileName
- The name of the conflicting file, i.e. the name file to be copied to the new destination.category
- A localized string with the category of the conflict, such as "File exists already"
.description
- A localized string with the long description of the conflict.public EFileConflictResolution getResolution()
public void setResolution(EFileConflictResolution resolution)
resolution
- The desired resolution of the conflict.public String getFileName()
public String getCategory()
"File exists already"
.public String getDescription()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.