Enum QuanserStream.CharacterFormat

java.lang.Object
java.lang.Enum<QuanserStream.CharacterFormat>
com.quanser.communications.QuanserStream.CharacterFormat
All Implemented Interfaces:
Serializable, Comparable<QuanserStream.CharacterFormat>, java.lang.constant.Constable
Enclosing class:
QuanserStream

public static enum QuanserStream.CharacterFormat extends Enum<QuanserStream.CharacterFormat>
Enumerates the different character formats available for textual communications. The QuanserStream class supports the reception and transmission of formatted text. The text may be formatted using UTF-8, UTF-16 or UTF-32 characters. The character format of the stream only determines the characters actually sent or received over the underlying communication channel. The text is converted to the native format of the language invoking the QuanserStream methods when performing textual I/O.
  • Enum Constant Details

  • Method Details

    • values

      public static QuanserStream.CharacterFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static QuanserStream.CharacterFormat valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null