public interface FileSupport
close() is called.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deletes any files created by this object.
|
java.io.File |
createFile(java.io.InputStream inputStream)
Create a file from the specified binary input stream.
|
java.io.File |
createFile(java.io.Reader reader)
Create a file from the specified character input stream
|
java.io.InputStream |
getInputStream(java.io.File file)
Returns an input stream for the specified file.
|
java.io.Reader |
getReader(java.io.File file)
Returns a reader for the specified file.
|
java.io.File createFile(java.io.InputStream inputStream) throws java.sql.SQLException
inputStream - a binary stream of datajava.sql.SQLException - if an IO error occursjava.io.File createFile(java.io.Reader reader) throws java.sql.SQLException
reader - a character stream of datajava.sql.SQLException - if an IO error occursjava.io.Reader getReader(java.io.File file) throws java.sql.SQLException
file - a temp filejava.sql.SQLException - if IO error occursjava.io.InputStream getInputStream(java.io.File file) throws java.sql.SQLException
file - a temp filejava.sql.SQLException - if IO error occursvoid close()