Package it.tidalwave.role.io
Interface Unmarshallable
-
- 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 Unmarshallable
The role of an object that can be unmarshalled.- Author:
- Fabrizio Giudici
- Stereotype:
- Role
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<Unmarshallable>
_Unmarshallable_
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
unmarshal(java.io.InputStream is)
Unmarshalls the object from the givenInputStream
.
-
-
-
Field Detail
-
_Unmarshallable_
static final java.lang.Class<Unmarshallable> _Unmarshallable_
-
-
Method Detail
-
unmarshal
@Nonnull <T> T unmarshal(@Nonnull java.io.InputStream is) throws java.io.IOException
Unmarshalls the object from the givenInputStream
.- Type Parameters:
T
- the type of the returned value- Parameters:
is
- theInputStream
- Returns:
- the unmarshalled object
- Throws:
java.io.IOException
- when an error occurs
-
-