net.sourceforge.groboutils.codecoverage.v2.util
Class HexUtil
java.lang.Object
net.sourceforge.groboutils.codecoverage.v2.util.HexUtil
- public class HexUtil
- extends java.lang.Object
A simple utility to provide the Hexidecimal conversions for the log files.
This contains the string-length checking and other verification steps
that might be left out of some implementations.
- Since:
- July 7, 2004
- Version:
- $Date: 2004/07/08 05:29:20 $
- Author:
- Matt Albrecht groboclown@users.sourceforge.net
Constructor Summary |
protected |
HexUtil()
Creates a new finder using the default (system) classpath. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_instance
protected static HexUtil s_instance
HexUtil
protected HexUtil()
- Creates a new finder using the default (system) classpath.
getInstance
public static final HexUtil getInstance()
parseTwoHex
public boolean parseTwoHex(java.lang.String text,
HexUtil.TwoShorts ts,
char sep,
int startPos)
- Parses two hex strings separated by a character. The string should
not start with the separator char after the startPos.
- Returns:
true
if ts
was populated correctly,
or false
if there was an error parsing the string.
Copyright © 2001-2003 by The GroboUtils Project