- All Superinterfaces:
- ConfigContent
- Enclosing interface:
- ConfigParser
Config content to be parsed by a 
ConfigParser.- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface io.helidon.config.spi.ConfigContentConfigContent.NodeContent, ConfigContent.OverrideContent
- 
Method SummaryModifier and TypeMethodDescriptionstatic ConfigParser.Content.Builderbuilder()A fluent API builder forConfigParser.Content.charset()Charset configured by the config source orUTF-8if none configured.static ConfigParser.Contentcreate(InputStream data, MediaType mediaType, Object stamp) Create content from data, media type and a stamp.data()Data of this config source.Media type of the content.Methods inherited from interface io.helidon.config.spi.ConfigContentclose, stamp
- 
Method Details- 
mediaTypeMedia type of the content. This method is only called if there is no parser configured.- Returns:
- content media type if known, emptyotherwise
 
- 
dataInputStream data()Data of this config source.- Returns:
- the data of the underlying source to be parsed by a ConfigParser
 
- 
charsetCharset charset()Charset configured by the config source orUTF-8if none configured.- Returns:
- charset to use when reading data()if needed by the parser
 
- 
builderA fluent API builder forConfigParser.Content.- Returns:
- a new builder instance
 
- 
createCreate content from data, media type and a stamp. If not all are available, construct content usingbuilder()- Parameters:
- data- input stream to underlying data
- mediaType- content media type
- stamp- stamp of the content
- Returns:
- content built from provided information
 
 
-