Interface RootProvider

  • 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 RootProvider
    An interface for providing the tuf root to a client.
    • Method Detail

      • get

        java.lang.String get()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • fromResource

        static RootProvider fromResource​(java.lang.String resourceName)
      • fromFile

        static RootProvider fromFile​(java.nio.file.Path path)