public class PacketTransformerCollection extends Object implements IAisPacketTransformer
| Constructor and Description |
|---|
PacketTransformerCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransformer(IAisPacketTransformer packetTransformer)
Add transformer.
|
List<IAisPacketTransformer> |
getCollection()
Gets collection.
|
void |
setCollection(List<IAisPacketTransformer> collection)
Sets collection.
|
AisPacket |
transform(AisPacket packet)
Transform AisPacket
|
public List<IAisPacketTransformer> getCollection()
public void setCollection(List<IAisPacketTransformer> collection)
collection - the collectionpublic AisPacket transform(AisPacket packet)
IAisPacketTransformertransform in interface IAisPacketTransformerpacket - the packetpublic void addTransformer(IAisPacketTransformer packetTransformer)
packetTransformer - the packet transformerCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.