class HeaderHelper {

    @SuppressWarnings({"unchecked"})
    public static String getHeaderAsString(Object o) {
        HeaderDelegate headerDelegate = RuntimeDelegate.getInstance().createHeaderDelegate(o.getClass());
        if (headerDelegate == null) {
            return o.toString();
        }
        return headerDelegate.toString(o);
    }

    private  HeaderHelper();

}