You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by je...@locus.apache.org on 2000/05/24 23:36:52 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/utils HexBin.java
jeffreyr 00/05/24 14:36:51
Modified: java/src/org/apache/xerces/utils HexBin.java
Log:
added method to isHex(String )
Revision Changes Path
1.2 +6 -0 xml-xerces/java/src/org/apache/xerces/utils/HexBin.java
Index: HexBin.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/utils/HexBin.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HexBin.java 2000/04/04 19:32:51 1.1
+++ HexBin.java 2000/05/24 21:36:45 1.2
@@ -128,6 +128,12 @@
return true;
}
+ public static boolean isHex( String isValidString ){
+ return( isArrayByteHex( isValidString.getBytes()));
+ }
+
+
+
/**
* array of byte to encode
*