|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StringCodes
Codes for strings used inside the Doolin Utils module.
| Field Summary | |
|---|---|
static String |
STRING_ERROR_CANNOT_DECODE_BASE64
Used when a base64-encoded string cannot be decoded Its value is "doolin.utils.error.CannotDecodeBase64" |
static String |
STRING_ERROR_CANNOT_DECODE_PASSWORD
Used when a password cannot be decoded. |
static String |
STRING_ERROR_CANNOT_ENCODE_BASE64
Used when a string cannot be encoded into base64. |
static String |
STRING_ERROR_CANNOT_ENCODE_PASSWORD
Used when a password cannot be encoded. |
static String |
STRING_ERROR_CANNOT_OPEN_PROPERTIES
Used when some property file cannot be opened. |
static String |
STRING_ERROR_CANNOT_UNZIP
Used when a ZIP uncompression cannot be performed. |
static String |
STRING_ERROR_CANNOT_ZIP
Used when a ZIP compression cannot be performed. |
static String |
STRING_ERROR_RESOURCE_IO_ERROR
Used when a resource cannot be read. |
static String |
STRING_ERROR_RESOURCE_NOT_FOUND
Used when a resource is not found. |
static String |
STRING_UTILS_FOR_CLASS_ERROR
Used when a class cannot be loaded from its value. |
static String |
STRING_UTILS_METHODCALL_ERROR
Error when a method cannot be called by introspection. |
static String |
STRING_UTILS_NEW_INSTANCE_ERROR
Used when a new instance cannot be created from a class name. |
static String |
STRING_UTILS_SET_PROPERTIES_ERROR
Used when properties cannot be set on an object. |
static String |
STRING_UTILS_XML_DOM_MANDATORY
Used when an element or attribute is mandatort in a DOM. |
static String |
STRING_UTILS_XML_DOM_WRONG_INT_FORMAT
Used when an integer element or attribute cannot be parsed from a DOM. |
static String |
STRING_XML_CANNOT_CONFIGURE_PARSER
Used when a JAXP parser cannot be configured. |
static String |
STRING_XML_IO_ERROR
Error while reading an XML document. |
static String |
STRING_XML_PARSING_ERROR
Error while parsing an XML document. |
static String |
UTILS_PROPERTY_ANNOTATION_CANNOT_ACCESS
Cannot access annotation property. |
static String |
XPATHUTIL_XPATH_ERROR
Error while evaluating an XPath expression. |
| Field Detail |
|---|
static final String STRING_ERROR_RESOURCE_NOT_FOUND
IOUtils.readProperties(String),
IOUtils.readTextResource(Class, String, String),
Utils.getResource(Class, String),
Constant Field Valuesstatic final String STRING_ERROR_RESOURCE_IO_ERROR
IOUtils.readTextResource(Class, String, String),
Constant Field Valuesstatic final String STRING_ERROR_CANNOT_OPEN_PROPERTIES
IOUtils.readProperties(String),
Constant Field Valuesstatic final String STRING_ERROR_CANNOT_ENCODE_PASSWORD
PasswordUtils.encodePassword(char[]),
PasswordUtils.passwordToBytes(char[]),
Constant Field Valuesstatic final String STRING_ERROR_CANNOT_DECODE_BASE64
CodecUtils.decodeBase64(String),
Constant Field Valuesstatic final String STRING_ERROR_CANNOT_ENCODE_BASE64
CodecUtils.encodeBase64(byte[]),
Constant Field Valuesstatic final String STRING_ERROR_CANNOT_DECODE_PASSWORD
PasswordUtils.decodePassword(String),
Constant Field Valuesstatic final String STRING_ERROR_CANNOT_ZIP
ZIPUtils.zip(byte[]),
Constant Field Valuesstatic final String STRING_ERROR_CANNOT_UNZIP
ZIPUtils.unzip(byte[]),
Constant Field Valuesstatic final String STRING_UTILS_NEW_INSTANCE_ERROR
Utils.newInstance(Class),
Utils.newInstance(String),
Utils.newInstance(String, ParameterSet),
Constant Field Valuesstatic final String STRING_UTILS_FOR_CLASS_ERROR
Utils.forClass(String),
Constant Field Valuesstatic final String STRING_UTILS_SET_PROPERTIES_ERROR
Utils.setProperties(Object, ParameterSet),
Constant Field Valuesstatic final String STRING_UTILS_XML_DOM_WRONG_INT_FORMAT
DOMUtils.getInt(org.w3c.dom.Element, String,
boolean, int),
DOMUtils.getIntAttribute(org.w3c.dom.Element,
String, boolean, int),
Constant Field Valuesstatic final String STRING_UTILS_XML_DOM_MANDATORY
DOMUtils.getInt(org.w3c.dom.Element, String,
boolean, int),
DOMUtils.getIntAttribute(org.w3c.dom.Element,
String, boolean, int),
DOMUtils.getBoolean(org.w3c.dom.Element,
String, boolean, boolean),
Constant Field Valuesstatic final String STRING_XML_CANNOT_CONFIGURE_PARSER
XMLUtils.createSAXValidatingParser(java.net.URL),
XMLUtils.createSAXNonValidatingParser(),
Constant Field Valuesstatic final String STRING_XML_IO_ERROR
DigesterUtils.parse(java.io.File, Object),
DigesterUtils.parse(org.xml.sax.InputSource,
Object),
DigesterUtils.parse(java.net.URL, Object),
Constant Field Valuesstatic final String STRING_XML_PARSING_ERROR
DigesterUtils.parse(org.xml.sax.InputSource, Object),
Constant Field Valuesstatic final String XPATHUTIL_XPATH_ERROR
XPathUtils,
Constant Field Valuesstatic final String STRING_UTILS_METHODCALL_ERROR
static final String UTILS_PROPERTY_ANNOTATION_CANNOT_ACCESS
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||