public class AbstractSynonymsParameterValueTransformer extends Object
Constructor and Description |
---|
AbstractSynonymsParameterValueTransformer(ResourceLoader resourceLoader) |
Modifier and Type | Method and Description |
---|---|
protected String |
extractContent(String line)
Extract the content from a line.
|
protected List<String> |
getLines(InputStream stream) |
String |
toString() |
com.google.gson.JsonElement |
transform(String parameterValue) |
public AbstractSynonymsParameterValueTransformer(ResourceLoader resourceLoader)
protected List<String> getLines(InputStream stream) throws IOException
IOException
protected String extractContent(String line)
This method basically strips non-meaningful content, like comments, from a line.
line
- The line to extract content frompublic com.google.gson.JsonElement transform(String parameterValue)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved