|
|||||||||
| 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(java.io.InputStream in)
Creates the artifact from the provided InputStream. |
void |
serialize(T artifact,
java.io.OutputStream out)
Serializes the artifact to the provided OutputStream. |
| Method Detail |
|---|
T create(java.io.InputStream in)
throws java.io.IOException,
InvalidFormatException
InputStream.
The InputStream remains open.
java.io.IOException
InvalidFormatException
void serialize(T artifact,
java.io.OutputStream out)
throws java.io.IOException
OutputStream.
The OutputStream remains open.
artifact - out -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||