org.eclipse.cdt.make.internal.core.makefile
Class Util
java.lang.Object
org.eclipse.cdt.make.internal.core.makefile.Util
public class Util
- extends java.lang.Object
Utility methods.
Method Summary |
static int |
indexOf(java.lang.String line,
char c)
|
static int |
indexOf(java.lang.String line,
java.lang.String tokens)
Special indexOf() method that makes sure that what we are searching
is not between parentheses and brackets like a macro $(foo) ${bar} |
static int |
indexOfComment(java.lang.String line)
|
static boolean |
isCommand(java.lang.String line)
|
static boolean |
isEmptyLine(java.lang.String line)
|
static boolean |
isEscapedLine(java.lang.String line)
|
static boolean |
isSpace(char c)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isCommand
public static boolean isCommand(java.lang.String line)
isEscapedLine
public static boolean isEscapedLine(java.lang.String line)
isEmptyLine
public static boolean isEmptyLine(java.lang.String line)
indexOfComment
public static int indexOfComment(java.lang.String line)
isSpace
public static boolean isSpace(char c)
indexOf
public static int indexOf(java.lang.String line,
char c)
indexOf
public static int indexOf(java.lang.String line,
java.lang.String tokens)
- Special indexOf() method that makes sure that what we are searching
is not between parentheses and brackets like a macro $(foo) ${bar}