Class ExportMeta
java.lang.Object
com.levigo.jadice.web.server.export.ExportMeta
Class that holds metadata of some printed output stored in a file.
Instances will be registered in a
ExportRepository
in order to allow clients to download
the file.-
Constructor Summary
ConstructorDescriptionExportMeta
(com.levigo.jadice.document.io.SeekableInputStream inputStream, String filename, DownloadPurpose downloadPurpose, int maxDownloadCount) ExportMeta
(File file, DownloadPurpose downloadPurpose) ExportMeta
(File file, DownloadPurpose downloadPurpose, int maxDownloadCount) -
Method Summary
Modifier and TypeMethodDescriptionlong
int
getFile()
com.levigo.jadice.document.io.SeekableInputStream
int
void
void
setMimeType
(String mimeType)
-
Constructor Details
-
Method Details
-
getMimeType
-
setMimeType
-
getFile
-
getDownloadPurpose
-
getCreatedAt
public long getCreatedAt() -
getAccessCount
-
getInputStream
public com.levigo.jadice.document.io.SeekableInputStream getInputStream() -
getDownloadCount
public int getDownloadCount() -
incrementDownloadCount
public void incrementDownloadCount() -
getMaxDownloadCount
public int getMaxDownloadCount() -
getFilename
-