@InterfaceAudience.Private public final class LogAggregationWebUtils extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static long | getLogEndIndex(HtmlBlock.Block html,
              String endStr)Parse end index from html. | 
| static long | getLogStartIndex(HtmlBlock.Block html,
                String startStr)Parse start index from html. | 
| static String | verifyAndGetAppOwner(HtmlBlock.Block html,
                    String appOwner)Verify and parse the application owner. | 
| static org.apache.hadoop.yarn.api.records.ContainerId | verifyAndGetContainerId(HtmlBlock.Block html,
                       String containerIdStr)Verify and parse containerId. | 
| static org.apache.hadoop.yarn.api.records.NodeId | verifyAndGetNodeId(HtmlBlock.Block html,
                  String nodeIdStr)Verify and parse NodeId. | 
public static long getLogStartIndex(HtmlBlock.Block html, String startStr) throws NumberFormatException
html - the htmlstartStr - the start index stringNumberFormatExceptionpublic static long getLogEndIndex(HtmlBlock.Block html, String endStr) throws NumberFormatException
html - the htmlendStr - the end index stringNumberFormatExceptionpublic static org.apache.hadoop.yarn.api.records.ContainerId verifyAndGetContainerId(HtmlBlock.Block html, String containerIdStr)
html - the htmlcontainerIdStr - the containerId stringContainerIdpublic static org.apache.hadoop.yarn.api.records.NodeId verifyAndGetNodeId(HtmlBlock.Block html, String nodeIdStr)
html - the htmlnodeIdStr - the nodeId stringNodeIdpublic static String verifyAndGetAppOwner(HtmlBlock.Block html, String appOwner)
html - the htmlappOwner - the Application ownerCopyright © 2018 Apache Software Foundation. All Rights Reserved.