Package org.apache.harmony.jretools.policytool.model

Examples of org.apache.harmony.jretools.policytool.model.CommentEntry


     */
    private void parseLineComment() {
        newIndex = policyText.indexOf( '\n', firstLastTokenIndices[ 0 ] + 2 );
        if ( newIndex < 0 ) // This is the last line
            newIndex = policyTextChars.length;
        policyEntryList.add( new CommentEntry( policyText.substring( index, newIndex ) ) );
    }
View Full Code Here


    private void parseBlockComment() throws InvalidPolicyTextException {
        newIndex = policyText.indexOf( "*/", firstLastTokenIndices[ 0 ] + 2 );
        if ( newIndex < 0 ) // No closing bracket
            throw new InvalidPolicyTextException( "No closing bracket for block comment!" );
        newIndex += 2// length of "*/"
        policyEntryList.add( new CommentEntry( policyText.substring( index, newIndex ) ) );
    }
View Full Code Here

TOP

Related Classes of org.apache.harmony.jretools.policytool.model.CommentEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.