TrueZIP Driver ZIP 7.1

de.schlichtherle.truezip.nio.charset
Class ZipCharsetProvider

java.lang.Object
  extended by java.nio.charset.spi.CharsetProvider
      extended by de.schlichtherle.truezip.nio.charset.ZipCharsetProvider

@Immutable
public final class ZipCharsetProvider
extends CharsetProvider

A charset provider that only provides the IBM437 character set, also known as CP437.

Author:
Christian Schlichtherle

Field Summary
private static Map<String,Charset> CHARSETS
           
 
Constructor Summary
ZipCharsetProvider()
           
 
Method Summary
 Charset charsetForName(String charset)
           
 Iterator<Charset> charsets()
           
private static String lowerCase(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHARSETS

@NonNull
private static final Map<String,Charset> CHARSETS
Constructor Detail

ZipCharsetProvider

public ZipCharsetProvider()
Method Detail

lowerCase

@NonNull
private static String lowerCase(@NonNull
                                        String s)

charsets

public Iterator<Charset> charsets()
Specified by:
charsets in class CharsetProvider

charsetForName

public Charset charsetForName(String charset)
Specified by:
charsetForName in class CharsetProvider

TrueZIP Driver ZIP 7.1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.