okapi.util
Class OkapiStoreReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.InputStreamReader
          extended by okapi.util.OkapiStoreReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class OkapiStoreReader
extends java.io.InputStreamReader

Reader for OkapiStore

Version:
$Revision: 31044 $, $Date: 2008-09-02 17:08:01 -0400 (Tue, 02 Sep 2008) $
Author:
MIT Stellar team

Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
OkapiStoreReader(OkapiStore store)
          Create a StoreReader that uses the default character encoding.
OkapiStoreReader(OkapiStore store, java.lang.String enc)
          Create a StoreReader that uses the named character encoding.
 
Method Summary
 
Methods inherited from class java.io.InputStreamReader
close, getEncoding, read, read, ready
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OkapiStoreReader

public OkapiStoreReader(OkapiStore store)
                 throws java.io.FileNotFoundException
Create a StoreReader that uses the default character encoding.

Throws:
java.io.FileNotFoundException

OkapiStoreReader

public OkapiStoreReader(OkapiStore store,
                        java.lang.String enc)
                 throws java.io.FileNotFoundException,
                        java.io.UnsupportedEncodingException
Create a StoreReader that uses the named character encoding.

Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException


Copyright ? 2001-2009 MIT. All Rights Reserved.