|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jaudiotagger.audio.asf.io.ModificationResult
final class ModificationResult
Structure to tell the differences occurred by altering a chunk.
| Field Summary | |
|---|---|
private long |
byteDifference
Stores the difference of bytes. |
private int |
chunkDifference
Stores the difference of the amount of chunks. "-1" if the chunk disappeared upon modification. "0" if the chunk was just modified. "1" if a chunk has been created. |
private java.util.Set<GUID> |
occuredGUIDs
Stores all GUIDs, which have been read. |
| Constructor Summary | |
|---|---|
ModificationResult(int chunkCountDiff,
long bytesDiffer,
GUID... occurred)
Creates an instance. |
|
ModificationResult(int chunkCountDiff,
long bytesDiffer,
java.util.Set<GUID> occurred)
Creates an instance. |
|
| Method Summary | |
|---|---|
long |
getByteDifference()
Returns the difference of bytes. |
int |
getChunkCountDifference()
Returns the difference of the amount of chunks. |
java.util.Set<GUID> |
getOccuredGUIDs()
Returns all GUIDs which have been occurred during processing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final long byteDifference
private final int chunkDifference
private final java.util.Set<GUID> occuredGUIDs
| Constructor Detail |
|---|
public ModificationResult(int chunkCountDiff,
long bytesDiffer,
GUID... occurred)
chunkCountDiff - amount of chunks appeared, disappearedbytesDiffer - amount of bytes added or removed.occurred - all GUIDs which have been occurred, during processing
public ModificationResult(int chunkCountDiff,
long bytesDiffer,
java.util.Set<GUID> occurred)
chunkCountDiff - amount of chunks appeared, disappearedbytesDiffer - amount of bytes added or removed.occurred - all GUIDs which have been occurred, during processing| Method Detail |
|---|
public long getByteDifference()
public int getChunkCountDifference()
public java.util.Set<GUID> getOccuredGUIDs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||