protected void appendLink (String text) {
        String[] link = split(text, '|');
        String uri = link[0].trim();
        String name = (link.length >= 2 && !isEmpty(link[1].trim())) ? link[1] : uri;
        if (isAbsoluteURI(uri)) {
            appendExternalLink(uri, name);
        } else {
            appendInternalLink(uri, name);
        }
    }
protected void appendLink ( String text ) { String [ ] link = split ( text , '|' ) ; String uri = link [ 0 ] . trim ( ) ; String name = ( link . length >= 2 && ! isEmpty ( link [ 1 ] . trim ( ) ) ) ? link [ 1 ] : uri ; if ( isAbsoluteURI ( uri ) ) { appendExternalLink ( uri , name ) ; } else { appendInternalLink ( uri , name ) ; } }
}