org.kde.koala
Class KSycocaEntry

java.lang.Object
  extended by org.kde.koala.KShared
      extended by org.kde.koala.KSycocaEntry
All Implemented Interfaces:
org.kde.qt.QtSupport
Direct Known Subclasses:
KProtocolInfo, KService, KServiceGroup, KServiceSeparator, KServiceType

public class KSycocaEntry
extends KShared

Base class for all Sycoca entries. You can't create an instance of KSycocaEntry, but it provides the common functionality for servicetypes and services.

See Also:
#http://developer#kde#org/documentation/library/kdeqt/kde3arch/ksycoca#html

Constructor Summary
protected KSycocaEntry(java.lang.Class dummy)
           
 
Method Summary
 java.lang.String entryPath()
           
 boolean isDeleted()
           
 boolean isType(int t)
           
 boolean isValid()
           
 void load(org.kde.qt.QDataStream arg1)
          Load ourselves from the database.
 java.lang.String name()
           
 int offset()
           
static void read(org.kde.qt.QDataStream s, java.lang.String[] list)
           
static void read(org.kde.qt.QDataStream s, java.lang.StringBuffer str)
          Safe demarshalling functions.
 void save(org.kde.qt.QDataStream s)
          Save ourselves to the database.
 int sycocaType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KSycocaEntry

protected KSycocaEntry(java.lang.Class dummy)
Method Detail

isType

public boolean isType(int t)

sycocaType

public int sycocaType()

name

public java.lang.String name()
Returns:
the name of this entry

entryPath

public java.lang.String entryPath()
Returns:
the path of this entry The path can be absolute or relative. The corresponding factory should know relative to what.

isValid

public boolean isValid()
Returns:
true if valid

isDeleted

public boolean isDeleted()
Returns:
true if deleted

offset

public int offset()
Returns:
the position of the entry in the sycoca file

save

public void save(org.kde.qt.QDataStream s)
Save ourselves to the database. Don't forget to call the parent class first if you override this function.


load

public void load(org.kde.qt.QDataStream arg1)
Load ourselves from the database. Don't call the parent class!


read

public static void read(org.kde.qt.QDataStream s,
                        java.lang.StringBuffer str)
Safe demarshalling functions.


read

public static void read(org.kde.qt.QDataStream s,
                        java.lang.String[] list)