org.netbeans.lib.cvsclient.file
Interface TransmitTextFilePreprocessor

All Known Implementing Classes:
DefaultTransmitTextFilePreprocessor

public interface TransmitTextFilePreprocessor

Preprocesses the text file before transmitting to the server.


Method Summary
 void cleanup(java.io.File preprocessedTextFile)
          Cleans up the preprocessed text file after sending it.
 java.io.File getPreprocessedTextFile(java.io.File originalTextFile)
          Generates the preprocessed text file from the original text file.
 void setTempDir(java.io.File tempDir)
          Set the temporary directory that is to be used to create temporary files.
 

Method Detail

getPreprocessedTextFile

public java.io.File getPreprocessedTextFile(java.io.File originalTextFile)
                                     throws java.io.IOException
Generates the preprocessed text file from the original text file.

Throws:
java.io.IOException

cleanup

public void cleanup(java.io.File preprocessedTextFile)
Cleans up the preprocessed text file after sending it.


setTempDir

public void setTempDir(java.io.File tempDir)
Set the temporary directory that is to be used to create temporary files.



Built on December 18 2007.  |  Portions Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.