read_atom() 공개 메소드

public read_atom ( ) : String
리턴 String
예제 #1
0
 /**
  * Create an atom from a stream containing an atom encoded in Erlang
  * external format.
  *
  * @param buf
  *                the stream containing the encoded atom.
  *
  * @exception OtpErlangDecodeException
  *                    if the buffer does not contain a valid external
  *                    representation of an Erlang atom.
  */
 public OtpErlangAtom(OtpInputStream buf)
 {
     atom = buf.read_atom();
 }
예제 #2
0
 /**
  * Create an atom from a stream containing an atom encoded in Erlang
  * external format.
  *
  * @param buf
  *                the stream containing the encoded atom.
  *
  * @exception OtpErlangDecodeException
  *                    if the buffer does not contain a valid external
  *                    representation of an Erlang atom.
  */
 public OtpErlangAtom(OtpInputStream buf)
 {
     atom = buf.read_atom();
 }