Java UTF8 utf8String(String... strs)

Here you can find the source of utf8String(String... strs)

Description

utf String

License

LGPL

Declaration

public static String utf8String(String... strs) 

Method Source Code


//package com.java2s;
//License from project: LGPL 

import java.nio.charset.Charset;

public class Main {
    public static String utf8String(String... strs) {
        return new String(String.join("", strs).getBytes(), Charset.defaultCharset());
    }//from  ww  w.  ja  va  2s .c om
}

Related

  1. UTF8GetString(final byte[] bytes, final int index, final int count)
  2. utf8Len(byte b)
  3. utf8Length(byte[] buffer, int str, int len)
  4. utf8Replace(String str)
  5. utf8SafeCEscape(String src)
  6. utf8StringLength(final CharSequence sequence)
  7. utf8StringSizeInBytes(String s)
  8. utf8StringToByteArray(String dataString)
  9. utf8StringToBytes(String string)