/** * Returns a string representation of this wrapper consisting of the class' * simple name, the {@link #getResourceType() resource type} and * {@link #getPath() path} as well as the string representation of the * {@link #getResource() wrapped resource}. */ @Override public String toString() { final String simpleName = getClass().getSimpleName(); final String className = (simpleName.length() > 0) ? simpleName : getClass().getName(); return className + ", type=" + getResourceType() + ", path=" + getPath() + ", resource=[" + getResource() + "]"; }