org.glassfish.tyrus.platform.encoders
Class IntegerEncoder

java.lang.Object
  extended by org.glassfish.tyrus.platform.encoders.IntegerEncoder
All Implemented Interfaces:
Encoder, Encoder.Text<Integer>

public class IntegerEncoder
extends Object
implements Encoder.Text<Integer>

Author:
dannycoward

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.websocket.Encoder
Encoder.Binary<T>, Encoder.Text<T>
 
Constructor Summary
IntegerEncoder()
           
 
Method Summary
 String encode(Integer b)
          Encode the given object into a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerEncoder

public IntegerEncoder()
Method Detail

encode

public String encode(Integer b)
              throws EncodeException
Description copied from interface: Encoder.Text
Encode the given object into a String.

Specified by:
encode in interface Encoder.Text<Integer>
Throws:
EncodeException


Copyright © 2012. All Rights Reserved.