org.glassfish.tyrus.platform.decoders
Class CharDecoder

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

public class CharDecoder
extends java.lang.Object
implements javax.net.websocket.Decoder.Text<java.lang.Character>

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
CharDecoder()
           
 
Method Summary
 java.lang.Character 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

CharDecoder

public CharDecoder()
Method Detail

decode

public java.lang.Character decode(java.lang.String s)
                           throws javax.net.websocket.DecodeException
Specified by:
decode in interface javax.net.websocket.Decoder.Text<java.lang.Character>
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.Character>


Copyright © 2012. All Rights Reserved.