Java Charset Create getCharSet(String charset)

Here you can find the source of getCharSet(String charset)

Description

get Char Set

License

Open Source License

Declaration

public static Charset getCharSet(String charset) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.nio.charset.Charset;

public class Main {

    public static Charset getCharSet(String charset) {

        return Charset.forName(charset);
    }//from w  ww  . ja va2  s  .c om
}

Related

  1. getCanonicalCharset(String charset)
  2. getCharset()
  3. getCharset()
  4. getCharset(int cpgid, int gcsgid)
  5. getCharset(int ibmCharacterSetId)
  6. getCharset(String charsetName)
  7. getCharset(String charsetName)
  8. getCharset(String contentType)
  9. getCharset(String enc)