public interface IFileProvider
IHttpPost.saveAttachmentToFile(IFileProvider, byte[][]),
IFactory.newSimpleFileProvider(Path, Long)| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
getFile(java.net.HttpURLConnection httpUrlConnection)
Provides a file for an open
HttpURLConnection to save the attachment to. |
java.lang.Long |
getLastModified(java.net.HttpURLConnection httpUrlConnection)
Provides a last modified time for an open
HttpURLConnection to save the attachment. |
java.nio.file.Path getFile(java.net.HttpURLConnection httpUrlConnection)
HttpURLConnection to save the attachment to.httpUrlConnection - an open HttpURLConnection which can be used to get information from (the file name for example)java.lang.Long getLastModified(java.net.HttpURLConnection httpUrlConnection)
HttpURLConnection to save the attachment.
This method may return null in which case the last modified property of the file will not be set.
httpUrlConnection - an open HttpURLConnection which can be used to get information from
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.