KeyTransformer
An interface that can be used to implement custom key transformers for FileKache
implementations.
In most cases, you don't need to implement one yourself. You can use SHA256KeyHasher instead or null
if your keys are already safe for filenames.
Inheritors
Functions
Link copied to clipboard
Returns a new transformed version of oldKey. Please note that the new key must follow filename guidelines. To be safe, just limit yourself to characters, numbers, and underscores when possible. For more information, see this Wikipedia page.