org.glassfish.tyrus.platform.decoders
Class CharDecoder
java.lang.Object
org.glassfish.tyrus.platform.decoders.CharDecoder
- All Implemented Interfaces:
- Decoder, Decoder.Text<Character>
public class CharDecoder
- extends Object
- implements Decoder.Text<Character>
- Author:
- dannycoward
|
Method Summary |
Character |
decode(String s)
Decode the given String into an object of type T. |
boolean |
willDecode(String s)
Answer whether the given String can be decoded into an object of type T. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CharDecoder
public CharDecoder()
decode
public Character decode(String s)
throws DecodeException
- Description copied from interface:
Decoder.Text
- Decode the given String into an object of type T.
- Specified by:
decode in interface Decoder.Text<Character>
- Throws:
DecodeException
willDecode
public boolean willDecode(String s)
- Description copied from interface:
Decoder.Text
- Answer whether the given String can be decoded into an object of type T.
- Specified by:
willDecode in interface Decoder.Text<Character>
Copyright © 2012. All Rights Reserved.