◆ ContentStream() [1/2]
org.turro.elephant.download.ContentStream.ContentStream |
( |
File |
file | ) |
|
Definition at line 36 of file ContentStream.java.
38 this.fileName = file.getName();
39 this.fileSize = file.length();
◆ ContentStream() [2/2]
org.turro.elephant.download.ContentStream.ContentStream |
( |
String |
fileName, |
|
|
long |
fileSize |
|
) |
| |
Definition at line 42 of file ContentStream.java.
44 this.fileName = fileName;
45 this.fileSize = fileSize;
◆ doInputStream()
InputStream org.turro.elephant.download.ContentStream.doInputStream |
( |
| ) |
|
|
protected |
Definition at line 68 of file ContentStream.java.
69 throw new UnsupportedOperationException(
"Not supported yet.");
◆ getAbsolutePath()
String org.turro.elephant.download.ContentStream.getAbsolutePath |
( |
| ) |
|
◆ getFileName()
String org.turro.elephant.download.ContentStream.getFileName |
( |
| ) |
|
◆ getFileSize()
long org.turro.elephant.download.ContentStream.getFileSize |
( |
| ) |
|
◆ getInputStream()
InputStream org.turro.elephant.download.ContentStream.getInputStream |
( |
| ) |
throws FileNotFoundException |
Definition at line 60 of file ContentStream.java.
62 return new FileInputStream(file);
InputStream doInputStream()
The documentation for this class was generated from the following file: