Interface Loadable
-
- All Known Implementing Classes:
MarshallableLoadable
public interface Loadable
- Author:
- Fabrizio Giudici
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<Loadable>
_Loadable_
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T> T
loadFrom(java.nio.file.Path path)
<T> T
loadFrom(java.nio.file.Path path, java.nio.charset.Charset charset, java.nio.file.OpenOption... openOptions)
-
-
-
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
-
-