de.schlichtherle.io
Interface FileFactory
- All Known Subinterfaces:
- ArchiveDetector
- All Known Implementing Classes:
- AbstractArchiveDetector, DefaultArchiveDetector
public interface FileFactory
This interface is not intended for public use!
It's only used to hide the existence of ArchiveDetector
s from
some methods in the File
class.
A factory interface which creates File
s, FileInputStream
s
and FileOutputStream
s.
You should not implement this interface directly - implement
ArchiveDetector
instead.
Implementations must be virtually immutable and thread safe!
- Since:
- TrueZIP 6.0
- Version:
- TrueZIP 6.7
- Author:
- Christian Schlichtherle
- See Also:
ArchiveDetector
createFile
File createFile(File blueprint)
createFile
File createFile(File delegate,
File innerArchive)
createFile
File createFile(File blueprint,
File delegate,
File enclArchive)
createFile
File createFile(String path)
createFile
File createFile(String parent,
String child)
createFile
File createFile(File parent,
String child)
createFile
File createFile(URI uri)
createFileInputStream
FileInputStream createFileInputStream(File file)
throws FileNotFoundException
- Throws:
FileNotFoundException
createFileOutputStream
FileOutputStream createFileOutputStream(File file,
boolean append)
throws FileNotFoundException
- Throws:
FileNotFoundException