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.

Author:
Milos Kleint

Constructor Summary
GzippedFileHandler()
           
 
Method Summary
 Request[] getInitialisationRequests()
          Get any requests that must be sent before commands are sent, to init this file handler.
protected  InputStream getProcessedInputStream(File f)
           
protected  Reader getProcessedReader(File f)
           
 
Methods inherited from class org.netbeans.lib.cvsclient.file.DefaultFileHandler
copyLocalFile, createNewFile, createOutputStream, getLengthString, getTransmitTextFilePreprocessor, getWriteRcsDiffFilePreprocessor, getWriteTextFilePreprocessor, removeLocalFile, 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 Reader getProcessedReader(File f)
                             throws IOException
Overrides:
getProcessedReader in class DefaultFileHandler
Throws:
IOException

getProcessedInputStream

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


Copyright © 2011. All Rights Reserved.