Package jade.content.frame
Class LEAPFrameCodec
- java.lang.Object
-
- jade.content.frame.LEAPFrameCodec
-
- All Implemented Interfaces:
Serializable,Serializable
public class LEAPFrameCodec extends Object implements Serializable
- Author:
- Giovanni Caire - TILAB
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LEAPFrameCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Framedecode(byte[] content)Transform a sequence of bytes encoded according to the LEAP language into a Framebyte[]encode(Frame content)Transform a Frame into a sequence of bytes encoded according to the LEAP language
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
encode
public byte[] encode(Frame content) throws FrameException
Transform a Frame into a sequence of bytes encoded according to the LEAP language- Parameters:
content- The Frame to be transformed- Throws:
FrameException
-
decode
public Frame decode(byte[] content) throws FrameException
Transform a sequence of bytes encoded according to the LEAP language into a Frame- Parameters:
content- The sequence of bytes to be transformed.- Throws:
FrameException
-
-