org.glassfish.tyrus.platform.decoders
Class DoubleDecoder

java.lang.Object
  extended by org.glassfish.tyrus.platform.decoders.DoubleDecoder
All Implemented Interfaces:
javax.net.websocket.Decoder, javax.net.websocket.Decoder.Text<java.lang.Double>

public class DoubleDecoder
extends java.lang.Object
implements javax.net.websocket.Decoder.Text<java.lang.Double>

Author:
dannycoward

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.net.websocket.Decoder
javax.net.websocket.Decoder.Binary<T>, javax.net.websocket.Decoder.Text<T>
 
Constructor Summary
DoubleDecoder()
           
 
Method Summary
 java.lang.Double decode(java.lang.String s)
           
 boolean willDecode(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleDecoder

public DoubleDecoder()
Method Detail

decode

public java.lang.Double decode(java.lang.String s)
                        throws javax.net.websocket.DecodeException
Specified by:
decode in interface javax.net.websocket.Decoder.Text<java.lang.Double>
Throws:
javax.net.websocket.DecodeException

willDecode

public boolean willDecode(java.lang.String s)
Specified by:
willDecode in interface javax.net.websocket.Decoder.Text<java.lang.Double>


Copyright © 2012. All Rights Reserved.