org.glassfish.tyrus.platform.encoders
Class DoubleEncoder

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

public class DoubleEncoder
extends Object
implements Encoder.Text<Double>

Author:
dannycoward

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.websocket.Encoder
Encoder.Binary<T>, Encoder.Text<T>
 
Constructor Summary
DoubleEncoder()
           
 
Method Summary
 String encode(Double 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

DoubleEncoder

public DoubleEncoder()
Method Detail

encode

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

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


Copyright © 2012. All Rights Reserved.