2401N/A/*
2685N/A * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
2401N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2401N/A *
2401N/A * This code is free software; you can redistribute it and/or modify it
2401N/A * under the terms of the GNU General Public License version 2 only, as
2685N/A * published by the Free Software Foundation. Oracle designates this
2401N/A * particular file as subject to the "Classpath" exception as provided
2685N/A * by Oracle in the LICENSE file that accompanied this code.
2401N/A *
2401N/A * This code is distributed in the hope that it will be useful, but WITHOUT
2401N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2401N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2401N/A * version 2 for more details (a copy is included in the LICENSE file that
2401N/A * accompanied this code).
2401N/A *
2401N/A * You should have received a copy of the GNU General Public License version
2401N/A * 2 along with this work; if not, write to the Free Software Foundation,
2401N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2401N/A *
2685N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2685N/A * or visit www.oracle.com if you need additional information or have any
2685N/A * questions.
2401N/A */
2401N/A
2401N/Apackage sun.nio.cs;
2401N/A
2401N/Aimport java.nio.charset.CharsetDecoder;
2401N/Aimport java.nio.charset.CharsetEncoder;
2401N/A
2401N/Apublic class UTF_32LE_BOM extends Unicode
2401N/A{
2401N/A public UTF_32LE_BOM() {
2401N/A super("X-UTF-32LE-BOM", StandardCharsets.aliases_UTF_32LE_BOM);
2401N/A }
2401N/A
2401N/A public String historicalName() {
2401N/A return "X-UTF-32LE-BOM";
2401N/A }
2401N/A
2401N/A public CharsetDecoder newDecoder() {
2401N/A return new UTF_32Coder.Decoder(this, UTF_32Coder.LITTLE);
2401N/A }
2401N/A
2401N/A public CharsetEncoder newEncoder() {
2401N/A return new UTF_32Coder.Encoder(this, UTF_32Coder.LITTLE, true);
2401N/A }
2401N/A}
2401N/A