TrueZIP 6.8.3

de.schlichtherle.io
Interface FileFactory

All Known Subinterfaces:
ArchiveDetector
All Known Implementing Classes:
AbstractArchiveDetector, DefaultArchiveDetector

Deprecated. This interface will disappear in TrueZIP 7.

public interface FileFactory

This interface is not intended for public use! It's only used to hide the existence of ArchiveDetectors from some methods in the File class.

A factory interface which creates Files, FileInputStreams and FileOutputStreams. You should not implement this interface directly - implement ArchiveDetector instead.

Implementations must be virtually immutable and thread safe!

Since:
TrueZIP 6.0
Author:
Christian Schlichtherle
See Also:
ArchiveDetector

Method Summary
 File createFile(File blueprint)
          Deprecated.  
 File createFile(File delegate, File innerArchive)
          Deprecated. This factory method is not intented for public use - do not use it!
 File createFile(File blueprint, File delegate, File enclArchive)
          Deprecated. This factory method is not intented for public use and is broken by design - do not use it!
 File createFile(File parent, String child)
          Deprecated.  
 File createFile(String path)
          Deprecated.  
 File createFile(String parent, String child)
          Deprecated.  
 File createFile(URI uri)
          Deprecated.  
 FileInputStream createFileInputStream(File file)
          Deprecated.  
 FileOutputStream createFileOutputStream(File file, boolean append)
          Deprecated.  
 

Method Detail

createFile

File createFile(File blueprint)
Deprecated. 

createFile

File createFile(File delegate,
                File innerArchive)
Deprecated. This factory method is not intented for public use - do not use it!


createFile

File createFile(File blueprint,
                File delegate,
                File enclArchive)
Deprecated. This factory method is not intented for public use and is broken by design - do not use it!


createFile

File createFile(String path)
Deprecated. 

createFile

File createFile(String parent,
                String child)
Deprecated. 

createFile

File createFile(File parent,
                String child)
Deprecated. 

createFile

File createFile(URI uri)
Deprecated. 

createFileInputStream

FileInputStream createFileInputStream(File file)
                                      throws FileNotFoundException
Deprecated. 
Throws:
FileNotFoundException

createFileOutputStream

FileOutputStream createFileOutputStream(File file,
                                        boolean append)
                                        throws FileNotFoundException
Deprecated. 
Throws:
FileNotFoundException

TrueZIP 6.8.3

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.