Interface LockIdEncoder

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LockIdEncoder
Provides a safe way to encode application id such that it can be stored on filesystem without exceptions: invalid characters, too long etc.
Author:
Alexander Biryukov
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    encode(@NotNull String inputString)
    Encode string.
  • Method Details

    • encode

      @NotNull @NotNull String encode(@NotNull @NotNull String inputString)
      Encode string.
      Parameters:
      inputString - input string
      Returns:
      encoded string