net.sf.jpkgmk
Interface FileHandler

All Known Implementing Classes:
DefaultFileHandler

public interface FileHandler

Manages the creation and deletion of a single file

Since:
1.0
Version:
$Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $

Nested Class Summary
static interface FileHandler.ContentWriter
          Is responsible to write the content into a file
 
Method Summary
 void clean()
          Removes the file that can be retrieved via getFile()
 void create(FileHandler.ContentWriter contentWriter)
          Creates the file that can be retrieved via getFile()
 java.io.File getFile()
           
 

Method Detail

clean

void clean()
Removes the file that can be retrieved via getFile()


create

void create(FileHandler.ContentWriter contentWriter)
            throws java.io.IOException
Creates the file that can be retrieved via getFile()

Parameters:
contentWriter -
Throws:
java.io.IOException

getFile

java.io.File getFile()
Returns:
The file to be created


Copyright © 2007-2008. All Rights Reserved.