eu.emi.security.authn.x509.helpers.ns
Class ParserUtils

java.lang.Object
  extended by eu.emi.security.authn.x509.helpers.ns.ParserUtils

public class ParserUtils
extends Object

Common helpers for namespace file parsers.

Author:
K. Benedyczak

Constructor Summary
ParserUtils()
           
 
Method Summary
static void checkEndOfLine(char[] chars, int j)
           
static int checkToken(String token, char[] chars, int offset, boolean caseSensitive)
           
static int checkTokenSoft(String token, char[] chars, int offset, boolean caseSensitive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserUtils

public ParserUtils()
Method Detail

checkToken

public static int checkToken(String token,
                             char[] chars,
                             int offset,
                             boolean caseSensitive)
                      throws IOException
Throws:
IOException

checkTokenSoft

public static int checkTokenSoft(String token,
                                 char[] chars,
                                 int offset,
                                 boolean caseSensitive)

checkEndOfLine

public static void checkEndOfLine(char[] chars,
                                  int j)
                           throws IOException
Throws:
IOException


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.