Subversion Repository Public Repository

litesoft

Diff Revisions 810 vs 811 for /trunk/Java/core/jvm1.5/src/org/litesoft/util/tempdirimageaccessor/FileNameParts.java

Diff revisions: vs.
  @@ -4,6 +4,7 @@
4 4 import java.io.*;
5 5
6 6 import org.litesoft.core.typeutils.*;
7 + import org.litesoft.core.util.*;
7 8 import org.litesoft.util.*;
8 9
9 10 public class FileNameParts
  @@ -194,7 +195,7 @@
194 195 for ( int i = 0; i < str.length(); i++ )
195 196 {
196 197 char c = str.charAt( i );
197 - if ( (c != '_') && !Utils.is7BitAsciiAlpha( c ) && !Utils.isNumeric( c ) )
198 + if ( (c != '_') && !Characters.is7BitAsciiAlpha( c ) && !Characters.isNumeric( c ) )
198 199 {
199 200 throw new IllegalArgumentException(
200 201 "Prefix: '" + c + "' Not a 7 Bit Ascii AlphaNumeric or underscore at: " + i );
  @@ -315,7 +316,7 @@
315 316 StringBuilder sb = new StringBuilder( pExtraInfo.length() * 2 );
316 317 for ( int i = 0; i < pExtraInfo.length(); i++ )
317 318 {
318 - char[] zChars = Utils.charToHex( pExtraInfo.charAt( i ) );
319 + char[] zChars = Hex.to4Chars( pExtraInfo.charAt( i ) );
319 320 int si = 0;
320 321 while ( (si < 3) && (zChars[si] == '0') )
321 322 {