okapi.util
Class OkapiStoreWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.OutputStreamWriter
          extended by okapi.util.OkapiStoreWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class OkapiStoreWriter
extends java.io.OutputStreamWriter

Writer 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.Writer
lock
 
Constructor Summary
OkapiStoreWriter(OkapiStore store)
          Create an StoreWriter that uses the default character encoding.
OkapiStoreWriter(OkapiStore store, java.lang.String enc)
          Create a StoreWriter that uses the named character encoding.
 
Method Summary
 
Methods inherited from class java.io.OutputStreamWriter
close, flush, getEncoding, write, write, write
 
Methods inherited from class java.io.Writer
append, append, append, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OkapiStoreWriter

public OkapiStoreWriter(OkapiStore store)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
Create an StoreWriter that uses the default character encoding.

Throws:
java.io.FileNotFoundException
java.io.IOException

OkapiStoreWriter

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

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


Copyright ? 2001-2009 MIT. All Rights Reserved.