Class JacksonJsonFormatterWrapper
java.lang.Object
de.funfried.netbeans.plugins.external.formatter.json.jackson.JacksonJsonFormatterWrapper
Wrapper class to the revelc.net formatter implementation.
- Author:
- bahlef
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionformat
(String code, String lineFeed, JacksonJsonFormatterWrapper.Options options) Formats the givencode
with the given configurations and returns the formatted code.
-
Method Details
-
format
@CheckForNull public String format(String code, String lineFeed, JacksonJsonFormatterWrapper.Options options) throws FormattingFailedException Formats the givencode
with the given configurations and returns the formatted code.- Parameters:
code
- the unformatted codelineFeed
- the line feed to use for formattingoptions
- theJacksonJsonFormatterWrapper.Options
- Returns:
- the formatted code
- Throws:
FormattingFailedException
-