|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cedarsoft.provider.InputStreamFromFileProvider
public class InputStreamFromFileProvider
A provider that returns an input stream using a file
| Constructor Summary | |
|---|---|
InputStreamFromFileProvider(File file)
Constructor for InputStreamFromFileProvider. |
|
| Method Summary | |
|---|---|
String |
getDescription()
getDescription |
InputStream |
provide()
Provides the object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputStreamFromFileProvider(@NotNull
File file)
Constructor for InputStreamFromFileProvider.
file - a File object.| Method Detail |
|---|
@NotNull
public InputStream provide()
throws IOException
provide in interface Provider<InputStream,IOException>IOException@NotNull public String getDescription()
getDescription
getDescription in interface Provider<InputStream,IOException>String object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||