public class LargeDataFile extends DataFile
Constructor and Description |
---|
LargeDataFile(InputStream stream,
String fileName,
String mimeType)
Creates a data file from a stream that is going to be stored as a temporary file on the file system.
|
calculateDigest, calculateDigest, calculateDigest, getBytes, getDocument, getFileSize, getId, getMediaType, getName, getStream, isFileEmpty, saveAs, saveAs, setDocument, setId, setMediaType
public LargeDataFile(InputStream stream, String fileName, String mimeType)
stream
- data file stream.fileName
- name of the filemimeType
- MIME type of the stream file, for example 'text/plain' or 'application/msword'Copyright © 2023. All rights reserved.