org.jboss.shrinkwrap.impl.base.serialization
Class ZipSerializableViewImpl
java.lang.Object
org.jboss.shrinkwrap.impl.base.serialization.ZipSerializableViewImpl
- All Implemented Interfaces:
- Serializable, Assignable, SerializableView, ZipSerializableView
public class ZipSerializableViewImpl
- extends Object
- implements ZipSerializableView
Implementation of a Serializable
view of Archive
s,
backed by ZIP en/decoding the contents during serialization/deserialization.
Defines the wire protocol and must remain backwards-compatible.
- Version:
- $Revision: $
- Author:
- ALR
- See Also:
- Serialized Form
Method Summary |
|
as(Class<TYPE> clazz)
Wraps an Archive in a different 'view'. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipSerializableViewImpl
public ZipSerializableViewImpl(Archive<?> archive)
- Creates a new instance, wrapping the specified
Archive
as
public <TYPE extends Assignable> TYPE as(Class<TYPE> clazz)
- Wraps an Archive in a different 'view'.
- Specified by:
as
in interface Assignable
- Parameters:
clazz
- Extension interface to load
- Returns:
- The Archive wrapped as TYPE
- See Also:
Assignable.as(java.lang.Class)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.