|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ArtifactSerializer<T>
Responsible to create an artifact from an InputStream.
| Method Summary | |
|---|---|
T |
create(InputStream in)
Creates the artifact from the provided InputStream. |
void |
serialize(T artifact,
OutputStream out)
Serializes the artifact to the provided OutputStream. |
| Method Detail |
|---|
T create(InputStream in)
throws IOException,
InvalidFormatException
InputStream.
The InputStream remains open.
IOException
InvalidFormatException
void serialize(T artifact,
OutputStream out)
throws IOException
OutputStream.
The OutputStream remains open.
artifact - out -
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||