|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KMimeMagicResult
public class KMimeMagicResult
May be removed in KDE 4.0.
Returned by KMimeMagic find...Type
methods.
It contains the mimetype and the encoding of
the file or buffer read.
Constructor Summary | |
---|---|
|
KMimeMagicResult()
|
protected |
KMimeMagicResult(java.lang.Class dummy)
|
Method Summary | |
---|---|
int |
accuracy()
Retrieve the accuracy of the matching. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
boolean |
isValid()
Returns whether the result is valid (i.e. |
java.lang.String |
mimeType()
Retrieve the mimetype (e.g. |
void |
setAccuracy(int _accuracy)
|
void |
setInvalid()
|
void |
setMimeType(java.lang.String _mime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KMimeMagicResult(java.lang.Class dummy)
public KMimeMagicResult()
Method Detail |
---|
public java.lang.String mimeType()
public int accuracy()
public boolean isValid()
public void setMimeType(java.lang.String _mime)
public void setAccuracy(int _accuracy)
public void setInvalid()
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |