com.raelity.jvi
Class Util

java.lang.Object
  extended by com.raelity.jvi.Util

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static boolean isalnum(int regname)
           
static boolean isalpha(char c)
           
static boolean isdigit(char c)
           
static boolean islower(char c)
           
static char tolower(char c)
           
static TextUtil.MySegment truncateNewline(TextUtil.MySegment seg)
           
static void vim_beep()
           
static String vim_strchr(String s, char c)
          Returns the substring of c in s or null if c not part of s.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

vim_beep

public static void vim_beep()

vim_strchr

public static String vim_strchr(String s,
                                char c)
Returns the substring of c in s or null if c not part of s.

Parameters:
s - the string to search in
c - the character to search for
Returns:
the substring of c in s or null if c not part of s.

isalnum

public static final boolean isalnum(int regname)

isalpha

public static final boolean isalpha(char c)

islower

public static boolean islower(char c)

tolower

public static char tolower(char c)

isdigit

public static boolean isdigit(char c)

truncateNewline

public static TextUtil.MySegment truncateNewline(TextUtil.MySegment seg)