|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object RawDataManager.RawDataManager
public abstract class RawDataManager
Abstract class representing a generic Raw Data Manager.
Constructor Summary | |
---|---|
RawDataManager()
|
Method Summary | |
---|---|
abstract void |
closeConnection()
Closes the connection to the features DB. |
abstract boolean |
contains(java.lang.String url)
Checks whether an image with a given URL exists in the DB. |
abstract void |
createConnection()
Connects to the feature DB. |
abstract Document.ImageID |
findID(java.lang.String url)
Retrieves the image ID given the image URL; if such image does not exists, it inserts it in the DB and returns the ID of the new image. |
abstract java.lang.String |
findURL(Document.ImageID id)
Retrieves the URL of an image with a given ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RawDataManager()
Method Detail |
---|
public abstract void createConnection()
public abstract void closeConnection()
public abstract Document.ImageID findID(java.lang.String url)
url
- Image URL.
public abstract java.lang.String findURL(Document.ImageID id)
id
- ID of the image to be searched.
null
otherwise.public abstract boolean contains(java.lang.String url)
url
- URL of the image to be searched.
true
if the image is contained in the DB, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |