public class Strip extends Object
| Constructor and Description |
|---|
Strip() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertToText(String input,
boolean isXMLExtraction)
Strip out XML tags and put in a tab
(do not use on Chinese text)
|
static String |
removeMultipleSpacesAndReturns(String data)
remove multiple spaces and returns so just single value if multiples
together - if it fails will just return data
|
static String |
stripAllSpaces(String data)
removes all the spaces
|
static StringBuilder |
stripAllSpaces(StringBuilder text)
removes all the spaces
|
static StringBuilder |
stripAmpHash(StringBuilder current_text) |
static StringBuilder |
stripArrows(StringBuilder text)
removes all the spaces
|
static String |
stripComment(String value)
remove any comment from a string in Storypad menu
comments are prefixed with a **
|
static String |
stripSpaces(String data)
remove leading spaces
|
static StringBuilder |
stripXML(String raw_data,
boolean isXMLExtraction)
remove any XML tokens to leave just text - this could be optimised further
|
static StringBuilder |
stripXML(StringBuilder all_tags,
boolean isXMLExtraction)
remove any XML tokens to leave just text - this could be optimised further
|
static StringBuilder |
stripXMLArrows(StringBuilder all_tags,
boolean isXMLExtraction)
remove any XML tokens to leave just text - this could be optimised further
|
static StringBuilder |
trim(StringBuilder content_buffer)
remove any leading spaces
|
public static StringBuilder stripXML(String raw_data, boolean isXMLExtraction)
public static StringBuilder stripXML(StringBuilder all_tags, boolean isXMLExtraction)
public static StringBuilder stripXMLArrows(StringBuilder all_tags, boolean isXMLExtraction)
public static final StringBuilder trim(StringBuilder content_buffer)
public static final String removeMultipleSpacesAndReturns(String data)
public static final StringBuilder stripArrows(StringBuilder text)
public static final StringBuilder stripAllSpaces(StringBuilder text)
public static final String convertToText(String input, boolean isXMLExtraction)
public static final String stripComment(String value)
public static StringBuilder stripAmpHash(StringBuilder current_text)
Copyright © 2017. All rights reserved.