|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.kleopatra.persistence.AbstractIOHandler
de.kleopatra.persistence.ObjectIOHandler
IOHandler that can read everything... Not tested.
Constructor Summary | |
ObjectIOHandler()
|
Method Summary | |
protected boolean |
checkType(java.lang.Object object)
checks and returns whether type of object is compatible with getHandledType. |
java.lang.String |
ensureExtension(java.lang.String filename)
returns the given filename with getFileExtension. |
java.lang.String |
getDescription()
a description for use in FileFilters. |
java.lang.String |
getExtension()
the fileExtension that should be used to read/write this type. |
java.lang.Class |
getHandledClass()
returns the class this handler feels responsible for. |
Methods inherited from class de.kleopatra.persistence.AbstractIOHandler |
getExtensionPosition, read, readResource, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectIOHandler()
Method Detail |
public java.lang.String ensureExtension(java.lang.String filename)
IOHandler
ensureExtension
in interface IOHandler
ensureExtension
in class AbstractIOHandler
protected boolean checkType(java.lang.Object object)
checkType
in class AbstractIOHandler
public java.lang.Class getHandledClass()
IOHandler
public java.lang.String getExtension()
IOHandler
public java.lang.String getDescription()
IOHandler
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |