org.aminds.io
クラス UnicodeNormalizationReader

java.lang.Object
  上位を拡張 java.io.Reader
      上位を拡張 java.io.FilterReader
          上位を拡張 org.aminds.io.ReusableFilterReader
              上位を拡張 org.aminds.io.UnicodeNormalizationReader
すべての実装されたインタフェース:
Closeable, Readable

public class UnicodeNormalizationReader
extends ReusableFilterReader

FilterReader that applies Unicode Normalization described in Unicode Standard Annex #15 — Unicode Normalization Forms.

作成者:
Masashi Nakanishi

入れ子のクラスの概要
static class UnicodeNormalizationReader.Capability
           
protected static class UnicodeNormalizationReader.ICU4JNormalizer
           
protected static interface UnicodeNormalizationReader.InternalNormalizer
           
protected static class UnicodeNormalizationReader.IteratorIOException
           
protected static class UnicodeNormalizationReader.JavaTextNormalizer
           
protected static class UnicodeNormalizationReader.ReaderIterator
          Minimal implementation of UCharacterIterator for internal use.
 
フィールドの概要
protected  UnicodeNormalizationReader.InternalNormalizer normalizer
           
protected  char[] surrogates
           
 
クラス java.io.FilterReader から継承されたフィールド
in
 
クラス java.io.Reader から継承されたフィールド
lock
 
コンストラクタの概要
UnicodeNormalizationReader(Reader in)
           
UnicodeNormalizationReader(Reader in, Normalizer.Form form)
           
UnicodeNormalizationReader(Reader in, Normalizer.Mode mode)
           
UnicodeNormalizationReader(Reader in, Normalizer.Mode mode, int options)
           
UnicodeNormalizationReader(Reader in, Normalizer.Mode mode, int options, UnicodeNormalizationReader.Capability capability)
           
 
メソッドの概要
 void close()
           
protected  void ensureOpen()
           
static Normalizer.Mode getICU4JNormalizationMode(Normalizer.Form form)
           
static Normalizer.Form getJavaTextNormalizationForm(Normalizer.Mode mode)
           
 void mark(int readAheadLimit)
           
 boolean markSupported()
           
 int read()
           
 int read(char[] cbuf, int off, int len)
           
 boolean ready()
           
 void reset()
           
 void reset(Reader in)
          Reset the contained Reader.
 long skip(long n)
           
 
クラス java.io.Reader から継承されたメソッド
read, read
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

normalizer

protected final UnicodeNormalizationReader.InternalNormalizer normalizer

surrogates

protected final char[] surrogates
コンストラクタの詳細

UnicodeNormalizationReader

public UnicodeNormalizationReader(Reader in)
                           throws IOException
例外:
IOException

UnicodeNormalizationReader

public UnicodeNormalizationReader(Reader in,
                                  Normalizer.Mode mode)
                           throws IOException
例外:
IOException

UnicodeNormalizationReader

public UnicodeNormalizationReader(Reader in,
                                  Normalizer.Mode mode,
                                  int options)
                           throws IOException
例外:
IOException

UnicodeNormalizationReader

public UnicodeNormalizationReader(Reader in,
                                  Normalizer.Mode mode,
                                  int options,
                                  UnicodeNormalizationReader.Capability capability)
                           throws IOException
例外:
IOException

UnicodeNormalizationReader

public UnicodeNormalizationReader(Reader in,
                                  Normalizer.Form form)
                           throws IOException
例外:
IOException
導入されたバージョン:
0.9
メソッドの詳細

getICU4JNormalizationMode

public static Normalizer.Mode getICU4JNormalizationMode(Normalizer.Form form)
導入されたバージョン:
0.9.1

getJavaTextNormalizationForm

public static Normalizer.Form getJavaTextNormalizationForm(Normalizer.Mode mode)
導入されたバージョン:
0.9.1

ensureOpen

protected void ensureOpen()
                   throws IOException
例外:
IOException

read

public int read()
         throws IOException
オーバーライド:
クラス FilterReader 内の read
例外:
IOException

read

public int read(char[] cbuf,
                int off,
                int len)
         throws IOException
オーバーライド:
クラス FilterReader 内の read
例外:
IOException

skip

public long skip(long n)
          throws IOException
オーバーライド:
クラス FilterReader 内の skip
例外:
IOException

ready

public boolean ready()
              throws IOException
オーバーライド:
クラス FilterReader 内の ready
例外:
IOException

markSupported

public boolean markSupported()
オーバーライド:
クラス FilterReader 内の markSupported

mark

public void mark(int readAheadLimit)
          throws IOException
オーバーライド:
クラス FilterReader 内の mark
例外:
IOException

reset

public void reset()
           throws IOException
オーバーライド:
クラス FilterReader 内の reset
例外:
IOException

close

public void close()
           throws IOException
定義:
インタフェース Closeable 内の close
オーバーライド:
クラス FilterReader 内の close
例外:
IOException

reset

public void reset(Reader in)
           throws IOException
クラス ReusableFilterReader の記述:
Reset the contained Reader. Note that this method does neither invoke reset() nor close() method of the underlying Reader, while FilterReader.reset() does invoke reset() of the underlying.

オーバーライド:
クラス ReusableFilterReader 内の reset
パラメータ:
in - a new Reader
例外:
IOException


Copyright (c) 2008-2011 Masashi Nakanishi.