001package com.box.sdk; 002 003import java.nio.charset.Charset; 004 005/** 006 * Constant definitions for the standard Charsets. 007 * <p> 008 * NB: Replace with java.nio.charset.StandardCharsets when we drop 1.6 support. 009 */ 010public final class StandardCharsets { 011 012 /** 013 * Eight-bit UCS Transformation Format. 014 */ 015 public static final Charset UTF_8 = Charset.forName("UTF-8"); 016 017 private StandardCharsets() { 018 throw new UnsupportedOperationException(); 019 } 020}