com.atlassian.core.spool
Interface FileFactory

All Known Implementing Classes:
DefaultSpoolFileFactory

public interface FileFactory

Simple strategy interface for creating new files


Method Summary
 java.io.File createNewFile()
          Create a new file based on the strategy of the factory.
 

Method Detail

createNewFile

java.io.File createNewFile()
                           throws java.io.IOException
Create a new file based on the strategy of the factory. Factories should ensure that the file returned exists.

Returns:
A newly created file
Throws:
java.io.IOException


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.