public final class FileBackUtilities extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
fileKeyToPathName(ByteBuffer fileKey,
String digestAlgorithm,
int tokenLength,
String tokenDelimiter)
Converts given file key to a path name.
|
public static String fileKeyToPathName(ByteBuffer fileKey, String digestAlgorithm, int tokenLength, String tokenDelimiter) throws NoSuchAlgorithmException
fileKey - the file key to convertdigestAlgorithm - a message digest algorithm to hash.tokenLength - the number of characters to split.tokenDelimiter - the delimiter string used when joining split
tokens.NoSuchAlgorithmException - if digestAlgorithm is unknown.Copyright © 2011–2015. All rights reserved.