public class TextFileContentProvider extends Object implements ContentProvider
NULL_CONTENT
Constructor and Description |
---|
TextFileContentProvider(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 TextFileContentProvider(File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public long getSize()
getSize
in interface ContentProvider
public InputStream createInputStream() throws IOException
ContentProvider
createInputStream
in interface ContentProvider
IOException
public boolean hasContent()
hasContent
in interface ContentProvider
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.