alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

/*****************************************************************************
 * Sun Public License Notice
 *
 * The contents of this file are subject to the Sun Public License Version
 * 1.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is available at http://www.sun.com/
 *
 * The Original Code is the CVS Client Library.
 * The Initial Developer of the Original Code is Thomas Singer.
 * Portions created by Thomas Singer are Copyright (C) 2001.
 * All Rights Reserved.
 *
 * Contributor(s): Thomas Singer.
 *****************************************************************************/
package org.netbeans.lib.cvsclient.file;

import java.io.*;

/**
 * Preprocesses the text file before transmitting to the server.
 * @author  Thomas Singer
 */
public interface TransmitTextFilePreprocessor {
    /**
     * Generates the preprocessed text file from the original text file.
     */
    File getPreprocessedTextFile(File originalTextFile) throws IOException;

    /**
     * Cleans up the preprocessed text file after sending it.
     */
    void cleanup(File preprocessedTextFile);
    
    /**
     * Set the temporary directory that is to be used to create temporary files.
     */
    void setTempDir(File tempDir);
}
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.