public class TempFileDataSource extends Object implements DataSource
| Constructor and Description |
|---|
TempFileDataSource(String id,
File tmpDir,
boolean deleteOnExit,
FileDeleteHelper fileDeleteHelper) |
TempFileDataSource(String id,
String alias,
File tmpDir,
boolean deleteOnExit,
FileDeleteHelper fileDeleteHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
String |
getContentType() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
public TempFileDataSource(String id, String alias, File tmpDir, boolean deleteOnExit, FileDeleteHelper fileDeleteHelper)
public TempFileDataSource(String id, File tmpDir, boolean deleteOnExit, FileDeleteHelper fileDeleteHelper)
protected void finalize()
throws Throwable
public InputStream getInputStream() throws IOException
getInputStream in interface DataSourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic String getContentType()
getContentType in interface DataSourcepublic String getName()
getName in interface DataSourceCopyright © 2025. All rights reserved.