public class FileContentProvider extends Object implements ContentProvider
NULL_CONTENT| Constructor and Description |
|---|
FileContentProvider(File file) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
createInputStream()
Create a new input stream
Note: The caller must close the stream |
long |
getSize() |
boolean |
hasContent() |
public FileContentProvider(File file)
public long getSize()
getSize in interface ContentProviderpublic InputStream createInputStream() throws IOException
ContentProvidercreateInputStream in interface ContentProviderIOExceptionpublic boolean hasContent()
hasContent in interface ContentProviderCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.