|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpmp.macro.lex.Tools
final class Tools
Tools for this package.
Title: PMP: Macroprocessor
Description: Java macroprocessor
Copyright: Copyright (c) 2005
Method Summary | |
---|---|
static java.lang.String |
convertToString(java.lang.String input)
Converts given parameter to C++/Java style string. |
static boolean |
isDigit(char ch,
int radix)
Returns true if given character is digit in specified
radix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String convertToString(java.lang.String input)
input
- string to be converted
public static boolean isDigit(char ch, int radix)
true
if given character is digit in specified
radix. Radix must be in range 2 and 36.
ch
- characterradix
- radix to be used. If greater then 10, first
radix-10
letters of alphabet will be considered
to be digits (case-insensitively).
true
if given char was recognized as legal digit
for given radix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |