| Constructor and Description |
|---|
FileContent(File file) |
| Modifier and Type | Method and Description |
|---|---|
long |
estimatedSize()
Vrátí odhad na velikost obsahu v bytech.
|
File |
getFile() |
InputStream |
getInputStream()
Vráti vstupní proud, ze kterého lze číst obsah zprávy.
|
String |
toString() |
public FileContent(File file)
public InputStream getInputStream() throws IOException
ContentgetInputStream in interface ContentIOExceptionpublic long estimatedSize()
ContentestimatedSize in interface Contentpublic File getFile()
Copyright © 2017. All rights reserved.