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.Filedirprotected java.util.Propertiesproperties
-
Constructor Summary
Constructors Modifier Constructor Description protectedIndexAdaptor(java.io.File dir)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaddIndexChunk(ResourceFetcher source, java.lang.String filename)voidcommit()abstract java.util.PropertiesgetProperties()abstract java.util.DategetTimestamp()abstract java.util.DatesetIndexFile(ResourceFetcher source, java.lang.String string)java.util.PropertiessetProperties(ResourceFetcher source)abstract voidstoreProperties()
-
-
-
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
-
-