org.glassfish.tyrus.platform.encoders
Class IntEncoder

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

public class IntEncoder
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
IntEncoder()
           
 
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

IntEncoder

public IntEncoder()
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.