public class Index extends ArchivePart
| Modifier and Type | Class and Description |
|---|---|
static class |
Index.Change |
| Constructor and Description |
|---|
Index() |
| Modifier and Type | Method and Description |
|---|---|
void |
added(String path,
com.google.common.hash.HashCode md5) |
Optional<Index.Change> |
changeFor(String path) |
void |
deleted(String path) |
Set<String> |
getAdded() |
com.google.common.hash.HashCode |
getAddedChecksum(String path) |
Set<String> |
getChanged() |
com.google.common.hash.HashCode |
getChecksum(String path) |
Set<String> |
getDeleted() |
Set<String> |
getUpdated() |
com.google.common.hash.HashCode |
getUpdatedChecksum(String path) |
boolean |
isAdded(String path) |
boolean |
isDeleted(String path) |
boolean |
isEmpty() |
boolean |
isUpdated(String path) |
String |
location() |
protected void |
readFromProperties(Properties properties) |
void |
updated(String path,
com.google.common.hash.HashCode md5) |
protected void |
writeToProperties(Properties properties) |
readFrom, writeTopublic com.google.common.hash.HashCode getChecksum(String path)
public void added(String path, com.google.common.hash.HashCode md5)
public com.google.common.hash.HashCode getAddedChecksum(String path)
public com.google.common.hash.HashCode getUpdatedChecksum(String path)
public void updated(String path, com.google.common.hash.HashCode md5)
public void deleted(String path)
public boolean isAdded(String path)
public boolean isUpdated(String path)
public boolean isDeleted(String path)
public Optional<Index.Change> changeFor(String path)
public String location()
location in class ArchivePartprotected void writeToProperties(Properties properties)
writeToProperties in class ArchivePartprotected void readFromProperties(Properties properties)
readFromProperties in class ArchivePartpublic boolean isEmpty()
Copyright © 2025 Suncode. All rights reserved.