public class PrintUtils extends Object
| Constructor and Description |
|---|
PrintUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
base64Encode(byte[] data) |
static String |
formatNumber(Double value) |
static String |
formatNumber(Long value) |
static String |
toLocation(ASTCssNode node) |
static String |
toName(int tokenType) |
static String |
toTypeName(ASTCssNode node) |
static String |
toTypeName(ASTCssNodeType type) |
static String |
toTypeNames(ASTCssNodeType... types) |
static String |
toUtf8(String value) |
static String |
toUtf8AsUri(String value)
Port of javascript encodeURIComponent.
|
static String |
toUtf8ExceptGrrr(String value) |
static String |
toUtf8ExceptURL(String value) |
public static String toName(int tokenType)
public static String toUtf8AsUri(String value)
public static String toTypeName(ASTCssNode node)
public static String toTypeNames(ASTCssNodeType... types)
public static String toTypeName(ASTCssNodeType type)
public static String toLocation(ASTCssNode node)
public static String base64Encode(byte[] data)
Copyright © 2012-2014. All Rights Reserved.