public abstract class AbstractFileBuffer extends Object implements Serializable
Constructor and Description |
---|
AbstractFileBuffer()
Constructor for creating a file buffer with the default file factory.
|
AbstractFileBuffer(FileFactory factory)
Constructor taking in the file factory used to create upload
File . |
Modifier and Type | Method and Description |
---|---|
protected FileOutputStream |
createFileOutputStream(String fileName)
Create a file output stream for the file.
|
protected Logger |
getLogger() |
public AbstractFileBuffer()
Files will be created using File.createTempFile(String, String)
and have that build 'upload_tmpfile_{FILENAME}_{currentTimeMillis}'
public AbstractFileBuffer(FileFactory factory)
File
.factory
- file factory for file bufferprotected FileOutputStream createFileOutputStream(String fileName)
fileName
- the name of the fileprotected Logger getLogger()
Copyright © 2019. All rights reserved.