Package com.ericsson.otp.erlang

Examples of com.ericsson.otp.erlang.OtpErlangBinary.binaryValue()


    private String extractString(OtpErlangObject obj) {

      if (obj instanceof OtpErlangBinary) {
        OtpErlangBinary binary = (OtpErlangBinary) obj;
        return new String(binary.binaryValue());
      } else if (obj instanceof OtpErlangTuple) {
        OtpErlangTuple tuple = (OtpErlangTuple) obj;
        return extractString(tuple.elementAt(0));
      }
      return null;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.