/***
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License as published by the Free Software Foundation; either
** version 2.1 of the License, or (at your option) any later version.
**
** This library is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public
** License along with this library; if not, write to the Free Software
** Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
**
**/
package com.partydj.util;
import java.nio.charset.*;
/**
* @author mrappazz
*
*
**/
public interface CharsetConstants {
public static final Charset UTF8 = Charset.forName("UTF-8");
public static final Charset US_ASCII = Charset.forName("US-ASCII");
public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");
public static final Charset WINDOWS_DEFAULT = Charset.forName("cp1252");
//aliases
public static final Charset DEFAULT = UTF8;
public static final Charset BASE64 = US_ASCII;
public static final Charset MESSAGING_DEFAULT = WINDOWS_DEFAULT;
}