Package org.apache.maven.index.updater
Class DefaultIndexUpdater.IndexAdaptor
- java.lang.Object
-
- org.apache.maven.index.updater.DefaultIndexUpdater.IndexAdaptor
-
- Direct Known Subclasses:
DefaultIndexUpdater.LocalCacheIndexAdaptor
,DefaultIndexUpdater.LuceneIndexAdaptor
- Enclosing class:
- DefaultIndexUpdater
private abstract class DefaultIndexUpdater.IndexAdaptor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.File
dir
protected java.util.Properties
properties
-
Constructor Summary
Constructors Modifier Constructor Description protected
IndexAdaptor(java.io.File dir)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
addIndexChunk(ResourceFetcher source, java.lang.String filename)
void
commit()
abstract java.util.Properties
getProperties()
abstract java.util.Date
getTimestamp()
abstract java.util.Date
setIndexFile(ResourceFetcher source, java.lang.String string)
java.util.Properties
setProperties(ResourceFetcher source)
abstract void
storeProperties()
-
-
-
Method Detail
-
getProperties
public abstract java.util.Properties getProperties()
-
storeProperties
public abstract void storeProperties() throws java.io.IOException
- Throws:
java.io.IOException
-
addIndexChunk
public abstract void addIndexChunk(ResourceFetcher source, java.lang.String filename) throws java.io.IOException
- Throws:
java.io.IOException
-
setIndexFile
public abstract java.util.Date setIndexFile(ResourceFetcher source, java.lang.String string) throws java.io.IOException
- Throws:
java.io.IOException
-
setProperties
public java.util.Properties setProperties(ResourceFetcher source) throws java.io.IOException
- Throws:
java.io.IOException
-
getTimestamp
public abstract java.util.Date getTimestamp()
-
commit
public void commit() throws java.io.IOException
- Throws:
java.io.IOException
-
-