public class NodeDtos extends Object
Constructor and Description |
---|
NodeDtos() |
Modifier and Type | Method and Description |
---|---|
static NodeDto |
findNodeByKey(Iterable<? extends NodeDto> nodes,
String key) |
static String |
getNodeText(NodeDtoSupport node) |
static List<ContextDto> |
parseContexts(File file) |
static List<ContextDto> |
parseContexts(String message) |
static void |
printNode(Indenter out,
NodeDtoSupport node) |
protected static <T> List<T> |
toList(com.fasterxml.jackson.databind.MappingIterator<T> iter) |
static List<NodeDto> |
toNodeList(Iterable<? extends NodeDto> nodes) |
static List<NodeDto> |
toNodeList(Iterable<? extends NodeDto> nodes,
String indentation) |
public static List<NodeDto> toNodeList(Iterable<? extends NodeDto> nodes, String indentation)
public static List<ContextDto> parseContexts(File file) throws IOException
IOException
public static List<ContextDto> parseContexts(String message) throws IOException
IOException
protected static <T> List<T> toList(com.fasterxml.jackson.databind.MappingIterator<T> iter) throws IOException
IOException
public static void printNode(Indenter out, NodeDtoSupport node) throws Exception
Exception
public static String getNodeText(NodeDtoSupport node)
Copyright © 2016 Red Hat. All rights reserved.