public final class Utils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
ALLOWED_SETTER_TYPES |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
addToSortedListNonUnique(List<T> list,
T item) |
static <T> void |
addToSortedListUnique(List<T> list,
T item) |
static InputSource |
asInputSource(URL url) |
static boolean |
equalsNullable(Object o1,
Object o2) |
static String |
flattenJavaDocLinksToLastWords(String text) |
static List<String> |
getHtmlTags(String description) |
static SAXParserFactory |
getSAXParserFactory(boolean namespaceAware) |
static XMLReader |
getXMLReader(boolean namespaceAware) |
static boolean |
isAttributeGetterOrSetter(FrankMethod method) |
static boolean |
isConfigChildSetter(FrankMethod method) |
static String |
jsonPretty(String json) |
static void |
parseXml(InputSource inputSource,
ContentHandler handler) |
static void |
parseXml(InputSource inputSource,
ContentHandler handler,
ErrorHandler errorHandler) |
static String |
promoteIfPrimitive(String typeName) |
static String |
toUpperCamelCase(String arg) |
public static boolean isAttributeGetterOrSetter(FrankMethod method)
public static boolean isConfigChildSetter(FrankMethod method)
public static <T> void addToSortedListUnique(List<T> list, T item)
public static <T> void addToSortedListNonUnique(List<T> list, T item)
public static InputSource asInputSource(URL url) throws IOException
IOExceptionpublic static void parseXml(InputSource inputSource, ContentHandler handler) throws IOException, SAXException
IOExceptionSAXExceptionpublic static void parseXml(InputSource inputSource, ContentHandler handler, ErrorHandler errorHandler) throws IOException, SAXException
IOExceptionSAXExceptionpublic static XMLReader getXMLReader(boolean namespaceAware) throws ParserConfigurationException, SAXException
public static SAXParserFactory getSAXParserFactory(boolean namespaceAware)
public static String flattenJavaDocLinksToLastWords(String text) throws FrankDocException
FrankDocExceptionCopyright © 2022 Ibissource.org. All rights reserved.