blob: e1039d6dda30c1444d69ace798fd177e1286d297 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package com.keuin.kbackupfabric.backup.incremental.identifier;
import java.io.File;
import java.io.IOException;
public interface FileIdentifierProvider<T extends ObjectIdentifier> {
/**
* Generate file identifier from a random file. The file is not necessarily in the object base.
*
* @param file the file.
* @return the file identifier.
* @throws IOException when an I/O error occurs.
*/
T fromFile(File file) throws IOException;
}
|