TrueZIP File* 7.0

de.schlichtherle.truezip.file
Class TFileReader

java.lang.Object
  extended by java.io.Reader
      extended by java.io.InputStreamReader
          extended by de.schlichtherle.truezip.file.TFileReader
All Implemented Interfaces:
Closeable, Readable

@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
@Immutable
public final class TFileReader
extends InputStreamReader

A replacement for the class FileReader for reading plain old files or entries in an archive file. Note that applications cannot read archive files directly using this class - just their entries.

Author:
Christian Schlichtherle
See Also:
TFileWriter

Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
TFileReader(TFile file)
           
TFileReader(TFile file, CharsetDecoder decoder)
           
 
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

TFileReader

public TFileReader(TFile file)
            throws FileNotFoundException
Throws:
FileNotFoundException

TFileReader

public TFileReader(TFile file,
                   CharsetDecoder decoder)
            throws FileNotFoundException
Throws:
FileNotFoundException

TrueZIP File* 7.0

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