Interface Loadable

  • All Known Implementing Classes:
    MarshallableLoadable

    public interface Loadable
    Author:
    Fabrizio Giudici
    • Field Detail

      • _Loadable_

        static final java.lang.Class<Loadable> _Loadable_
    • Method Detail

      • loadFrom

        default <T> T loadFrom​(@Nonnull
                               java.nio.file.Path path)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • loadFrom

        <T> T loadFrom​(@Nonnull
                       java.nio.file.Path path,
                       @Nonnull
                       java.nio.charset.Charset charset,
                       @Nonnull
                       java.nio.file.OpenOption... openOptions)
                throws java.io.IOException
        Throws:
        java.io.IOException