org.netbeans.lib.cvsclient.file
Class GzippedFileHandler

java.lang.Object
  extended by org.netbeans.lib.cvsclient.file.DefaultFileHandler
      extended by org.netbeans.lib.cvsclient.file.GzippedFileHandler
All Implemented Interfaces:
FileHandler

public class GzippedFileHandler
extends DefaultFileHandler

Handles the reading and writing of Compressed files to and from the server.


Constructor Summary
GzippedFileHandler()
           
 
Method Summary
 Request[] getInitialisationRequests()
          Get any requests that must be sent before commands are sent, to init this file handler.
protected  java.io.InputStream getProcessedInputStream(java.io.File f)
           
protected  java.io.Reader getProcessedReader(java.io.File f)
           
 
Methods inherited from class org.netbeans.lib.cvsclient.file.DefaultFileHandler
createNewFile, createOutputStream, getLengthString, getTransmitTextFilePreprocessor, getWriteRcsDiffFilePreprocessor, getWriteTextFilePreprocessor, removeLocalFile, renameLocalFile, setGlobalOptions, setNextFileDate, setTransmitTextFilePreprocessor, setWriteRcsDiffFilePreprocessor, setWriteTextFilePreprocessor, transmitBinaryFile, transmitTextFile, writeBinaryFile, writeRcsDiffFile, writeTextFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GzippedFileHandler

public GzippedFileHandler()
Method Detail

getInitialisationRequests

public Request[] getInitialisationRequests()
Get any requests that must be sent before commands are sent, to init this file handler.

Specified by:
getInitialisationRequests in interface FileHandler
Overrides:
getInitialisationRequests in class DefaultFileHandler
Returns:
an array of Requests that must be sent

getProcessedReader

protected java.io.Reader getProcessedReader(java.io.File f)
                                     throws java.io.IOException
Overrides:
getProcessedReader in class DefaultFileHandler
Throws:
java.io.IOException

getProcessedInputStream

protected java.io.InputStream getProcessedInputStream(java.io.File f)
                                               throws java.io.IOException
Overrides:
getProcessedInputStream in class DefaultFileHandler
Throws:
java.io.IOException

 

Built on October 26 2010.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.