Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jfor.jfor.tools
Class ImageUtil  view ImageUtil download ImageUtil.java

java.lang.Object
  extended byorg.jfor.jfor.tools.ImageUtil

public class ImageUtil
extends java.lang.Object

Misc.utilities for images handling This class belongs to the tag processing.


Constructor Summary
private ImageUtil()
          Private constructor.
 
Method Summary
static boolean compareHexValues(byte[] pattern, byte[] data, int searchAt, boolean searchForward)
          Compares two hexadecimal values.
static int getInt(java.lang.String value)
          Determines the digits from a string.
static int getIntFromByteArray(byte[] data, int startAt, int length, boolean searchForward)
          Determines a integer value from a hexadecimal byte array.
static boolean isPercent(java.lang.String value)
          Checks the string for percent character at the end of string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageUtil

private ImageUtil()
Private constructor.

Method Detail

getInt

public static int getInt(java.lang.String value)
Determines the digits from a string.


isPercent

public static boolean isPercent(java.lang.String value)
Checks the string for percent character at the end of string.


compareHexValues

public static boolean compareHexValues(byte[] pattern,
                                       byte[] data,
                                       int searchAt,
                                       boolean searchForward)
Compares two hexadecimal values.


getIntFromByteArray

public static int getIntFromByteArray(byte[] data,
                                      int startAt,
                                      int length,
                                      boolean searchForward)
Determines a integer value from a hexadecimal byte array.