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

Quick Search    Search Deep

com.flexstor.flexdbserver.services.asset.iptc
Class IPTCParser  view IPTCParser download IPTCParser.java

java.lang.Object
  extended bycom.flexstor.flexdbserver.services.asset.iptc.IPTCParser
Direct Known Subclasses:
EPSParser, PSDParser, TIFFParser

public class IPTCParser
extends java.lang.Object

Version:
initial

Field Summary
protected  java.util.Hashtable hDataSets
           
 
Constructor Summary
IPTCParser()
          Creates new IPTCParser
 
Method Summary
protected  void BGPDebug(java.lang.String sDebugMsg)
          Quick (and easily changeable) way of printing a debug statement.
protected  void BGPError(java.lang.String sErrorMsg)
          Quick (and easily changeable) way of printing an error.
protected  int hexBytesToInt(byte[] abHexBytes, int nStartPos, int nLength)
          This method converts part of an array of bytes into an integer value.
protected  boolean parseIPTCdata(byte[] abIPTCrecord)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hDataSets

protected java.util.Hashtable hDataSets
Constructor Detail

IPTCParser

public IPTCParser()
Creates new IPTCParser

Method Detail

parseIPTCdata

protected boolean parseIPTCdata(byte[] abIPTCrecord)

hexBytesToInt

protected int hexBytesToInt(byte[] abHexBytes,
                            int nStartPos,
                            int nLength)
This method converts part of an array of bytes into an integer value. (For our purposes, we will not exceed four bytes.)


BGPError

protected void BGPError(java.lang.String sErrorMsg)
Quick (and easily changeable) way of printing an error.


BGPDebug

protected void BGPDebug(java.lang.String sDebugMsg)
Quick (and easily changeable) way of printing a debug statement.