|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.compress.changes.ChangeSetResults
public class ChangeSetResults
Stores the results of an performed ChangeSet operation.
| Field Summary | |
|---|---|
private java.util.List |
addedFromChangeSet
|
private java.util.List |
addedFromStream
|
private java.util.List |
deleted
|
| Constructor Summary | |
|---|---|
ChangeSetResults()
|
|
| Method Summary | |
|---|---|
(package private) void |
addedFromChangeSet(java.lang.String fileName)
Adds the name of a file to the result list which has been copied from the changeset to the target stream |
(package private) void |
addedFromStream(java.lang.String fileName)
Adds the name of a file to the result list which has been copied from the source stream to the target stream. |
(package private) void |
deleted(java.lang.String fileName)
Adds the filename of a recently deleted file to the result list. |
java.util.List |
getAddedFromChangeSet()
Returns a list of filenames which has been added from the changeset |
java.util.List |
getAddedFromStream()
Returns a list of filenames which has been added from the original stream |
java.util.List |
getDeleted()
Returns a list of filenames which has been deleted |
(package private) boolean |
hasBeenAdded(java.lang.String filename)
Checks if an filename already has been added to the result list |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.util.List addedFromChangeSet
private final java.util.List addedFromStream
private final java.util.List deleted
| Constructor Detail |
|---|
public ChangeSetResults()
| Method Detail |
|---|
void deleted(java.lang.String fileName)
fileName - the file which has been deletedvoid addedFromStream(java.lang.String fileName)
fileName - the file name which has been added from the original streamvoid addedFromChangeSet(java.lang.String fileName)
fileName - the name of the filepublic java.util.List getAddedFromChangeSet()
public java.util.List getAddedFromStream()
public java.util.List getDeleted()
boolean hasBeenAdded(java.lang.String filename)
filename - the filename to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||