org.netbeans.lib.cvsclient.file
Class DefaultTransmitTextFilePreprocessor

java.lang.Object
  extended by org.netbeans.lib.cvsclient.file.DefaultTransmitTextFilePreprocessor
All Implemented Interfaces:
TransmitTextFilePreprocessor

public class DefaultTransmitTextFilePreprocessor
extends java.lang.Object
implements TransmitTextFilePreprocessor


Constructor Summary
DefaultTransmitTextFilePreprocessor()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTransmitTextFilePreprocessor

public DefaultTransmitTextFilePreprocessor()
Method Detail

setTempDir

public void setTempDir(java.io.File tempDir)
Description copied from interface: TransmitTextFilePreprocessor
Set the temporary directory that is to be used to create temporary files.

Specified by:
setTempDir in interface TransmitTextFilePreprocessor

getPreprocessedTextFile

public java.io.File getPreprocessedTextFile(java.io.File originalTextFile)
                                     throws java.io.IOException
Description copied from interface: TransmitTextFilePreprocessor
Generates the preprocessed text file from the original text file.

Specified by:
getPreprocessedTextFile in interface TransmitTextFilePreprocessor
Throws:
java.io.IOException

cleanup

public void cleanup(java.io.File preprocessedTextFile)
Description copied from interface: TransmitTextFilePreprocessor
Cleans up the preprocessed text file after sending it.

Specified by:
cleanup in interface TransmitTextFilePreprocessor

 

Built on August 7 2008.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.