public String description() { return TiffDirectory.description(type); }
public String description() { return TiffDirectory.description(type); }
public String description() { return TiffDirectory.description(type); }
public String description() { return TiffDirectory.description(type); }
public String getElementDescription(boolean verbose) { if (!verbose) return "TIFF Directory (" + description() + ")"; int entryOffset = offset + TIFF_DIRECTORY_HEADER_LENGTH; StringBuffer result = new StringBuffer(); for (int i = 0; i < entries.size(); i++) { TiffField entry = (TiffField) entries.get(i); result.append("\t"); result.append("[" + entryOffset + "]: "); result.append(entry.tagInfo.name); result.append(" (" + entry.tag + ", 0x" + Integer.toHexString(entry.tag) + ")"); result.append(", " + entry.fieldType.name); result.append(", " + entry.fieldType.getRawBytes(entry).length); result.append(": " + entry.getValueDescription()); result.append("\n"); entryOffset += TIFF_ENTRY_LENGTH; // entry.fillInValue(byteSource); } return result.toString(); }
public String getElementDescription(boolean verbose) { if (!verbose) return "TIFF Directory (" + description() + ")"; int entryOffset = offset + TIFF_DIRECTORY_HEADER_LENGTH; StringBuffer result = new StringBuffer(); for (int i = 0; i < entries.size(); i++) { TiffField entry = (TiffField) entries.get(i); result.append("\t"); result.append("[" + entryOffset + "]: "); result.append(entry.tagInfo.name); result.append(" (" + entry.tag + ", 0x" + Integer.toHexString(entry.tag) + ")"); result.append(", " + entry.fieldType.name); result.append(", " + entry.fieldType.getRawBytes(entry).length); result.append(": " + entry.getValueDescription()); result.append("\n"); entryOffset += TIFF_ENTRY_LENGTH; // entry.fillInValue(byteSource); } return result.toString(); }
public String toString(String prefix) { return (prefix != null ? prefix : "") + directory.description() + ": " // + (getTiffImageData() != null ? " (tiffImageData)" : "") // + (getJpegImageData() != null ? " (jpegImageData)" : "") // + "\n" + super.toString(prefix) + "\n"; }
public String toString(String prefix) { return (prefix != null ? prefix : "") + directory.description() + ": " // + (getTiffImageData() != null ? " (tiffImageData)" : "") // + (getJpegImageData() != null ? " (jpegImageData)" : "") // + "\n" + super.toString(prefix) + "\n"; }