private static void log(StringBuffer buffer, String s) { Debug.debug(s); if (buffer != null) buffer.append(s + newline); }
public void dump() { for (int i = 0; i < palette.length; i++) { Debug.debug("\t" + "palette[" + i + "]", palette[i] + " (0x" + Integer.toHexString(palette[i]) + ")"); } }
public void dump() { for (int i = 0; i < palette.length; i++) { Debug.debug("\t" + "palette[" + i + "]", palette[i] + " (0x" + Integer.toHexString(palette[i]) + ")"); } }
public String getName() throws UnsupportedEncodingException { Debug.debug("getName", nameData.length); return new String(nameData, "ISO-8859-1"); } }
private static void log(StringBuffer buffer, String s) { Debug.debug(s); if (buffer != null) buffer.append(s + newline); }
public String getName() throws UnsupportedEncodingException { Debug.debug("getName", nameData.length); return new String(nameData, "ISO-8859-1"); } }
public static void debug(String message, File file) { debug(message + ": " + ((file == null) ? "null" : file.getPath())); }
public static void debug(String message, Date value) { DateFormat df = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss"); debug(message, (value == null) ? "null" : df.format(value)); }
public static void debug(String message, Date value) { DateFormat df = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss"); debug(message, (value == null) ? "null" : df.format(value)); }
public static void debug(String message, Calendar value) { DateFormat df = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss"); debug(message, (value == null) ? "null" : df.format(value.getTime())); }
public static void debug(String message, Calendar value) { DateFormat df = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss"); debug(message, (value == null) ? "null" : df.format(value.getTime())); }
public boolean visitSegment(int marker, byte markerBytes[], int segmentLength, byte segmentLengthBytes[], byte segmentData[]) { Debug.debug("Segment marker: " + Integer.toHexString(marker) + " (" + getMarkerName(marker) + "), " + segmentData.length + " bytes of segment data."); return true; } };
public boolean visitSegment(int marker, byte markerBytes[], int segmentLength, byte segmentLengthBytes[], byte segmentData[]) { Debug.debug("Segment marker: " + Integer.toHexString(marker) + " (" + getMarkerName(marker) + "), " + segmentData.length + " bytes of segment data."); return true; } };