Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.common.io
Interface SerializationFilter

    public interface SerializationFilter

Filters a stream for serialize/unserialize operations.

Version:
  $Revision: 630 $
Author:
  Julien Viet

Field Summary
`static SerializationFilter` | `COMPRESSOR` Use GZIP streams.
`static SerializationFilter` | `TRIVIAL`

Method Summary
`
`<T> void`
` | `serialize(Serialization<T> serialization, T t, java.io.OutputStream out)`
`
`<T> T`
` | `unserialize(Serialization<T> serialization, java.io.InputStream in)`

Field Detail

### TRIVIAL

    static final SerializationFilter TRIVIAL

### COMPRESSOR

    static final SerializationFilter COMPRESSOR

  Use GZIP streams.

Method Detail

### serialize

    <T> void serialize(Serialization<T> serialization,
                       T t,
                       java.io.OutputStream out)
                   throws java.lang.IllegalArgumentException,
                          java.io.IOException

  Throws:
    `java.lang.IllegalArgumentException`
    `java.io.IOException`

### unserialize

    <T> T unserialize(Serialization<T> serialization,
                      java.io.InputStream in)
                  throws java.lang.IllegalArgumentException,
                         java.io.IOException

  Throws:
    `java.lang.IllegalArgumentException`
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008. All Rights Reserved.