Package com._1c.g5.v8.dt.html.ui.editor
Interface IPreviewHtmlPageContentProvider
-
- All Known Implementing Classes:
MdPreviewHtmlPageContentProvider
,PreviewHtmlPageContentProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IPreviewHtmlPageContentProvider
Content provider for text of preview html page
-
-
Field Summary
Fields Modifier and Type Field Description static String
FILE_NOT_FOUND_PAGE
static IPreviewHtmlPageContentProvider
FILE_NOT_FOUND_PAGE_CONTENT_PROVIDER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContent(String location)
Get text content of preview html page by specified location
-
-
-
Field Detail
-
FILE_NOT_FOUND_PAGE
static final String FILE_NOT_FOUND_PAGE
-
FILE_NOT_FOUND_PAGE_CONTENT_PROVIDER
static final IPreviewHtmlPageContentProvider FILE_NOT_FOUND_PAGE_CONTENT_PROVIDER
-
-
Method Detail
-
getContent
String getContent(String location) throws IOException
Get text content of preview html page by specified location- Parameters:
location
- of html text to preview, cannot benull
- Returns:
- string content of preview html page, nevet
null
- Throws:
IOException
- if an I/O error occurs
-
-