opencard.opt.iso.fs
Class CardFileWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--java.io.OutputStreamWriter
              |
              +--opencard.opt.iso.fs.CardFileWriter

public class CardFileWriter
extends java.io.OutputStreamWriter

CardFileWriter is a subclass of OutputStreamWriter that can be used to read text data from a CardFile. The constructor of this class assumes that the default character encoding and the default byte-buffer size are appropriate.

See Also:
java.io.FileWriter, CardFile, CardFileOutputStream

Fields inherited from class java.io.Writer
lock
 
Constructor Summary
CardFileWriter(CardFile file)
          Instantiate a CardFileWriter for the specified CardFile object.
 
Methods inherited from class java.io.OutputStreamWriter
close, flush, getEncoding, write, write, write
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CardFileWriter

public CardFileWriter(CardFile file)
               throws java.io.IOException,
                      opencard.core.terminal.CardTerminalException
Instantiate a CardFileWriter for the specified CardFile object.

Parameters:
file - The CardFile object to write to.
Throws:
java.io.IOException - Thrown if the file is not found or file type does not match.
opencard.core.terminal.CardTerminalException - Thrown when the smart card has been removed.