JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.websocket

Interface Encoder.Text<T>

  • Type Parameters:
    T - The type of the custom developer object that this Encoder can encode into a String.
    All Superinterfaces:
    Encoder
    Enclosing interface:
    Encoder


    public static interface Encoder.Text<T>
    extends Encoder 
    This interface defines how to provide a way to convert a custom object into a text message.
    • Method Detail

      • encode

        String encode(T object)
         throws EncodeException 
        Encode the given object into a String.
        Parameters:
        object - the object being encoded.
        Returns:
        the encoded object as a string.
        Throws:
        EncodeException
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /