gzz.util
Class Filer.AbstractGroup

java.lang.Object
  |
  +--gzz.util.Filer.AbstractGroup
All Implemented Interfaces:
Filer.Group
Direct Known Subclasses:
MediaserverFiler.Group
Enclosing class:
Filer

public abstract static class Filer.AbstractGroup
extends java.lang.Object
implements Filer.Group


Field Summary
protected  java.util.Map filers
           
 
Constructor Summary
Filer.AbstractGroup()
           
 
Method Summary
protected abstract  Filer createFiler(java.lang.String id)
           
 Filer getFiler(java.lang.String id)
          Get the Filer for the given id (opaque URI).
 void saveAll(java.util.Map versions)
          Take a Map from Filer ids (Strings representing opaque URIs) to Version; for each entry in the Map, get the appropriate Filer and save the Version to it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filers

protected java.util.Map filers
Constructor Detail

Filer.AbstractGroup

public Filer.AbstractGroup()
Method Detail

createFiler

protected abstract Filer createFiler(java.lang.String id)
                              throws java.io.IOException
java.io.IOException

getFiler

public Filer getFiler(java.lang.String id)
               throws java.io.IOException
Description copied from interface: Filer.Group
Get the Filer for the given id (opaque URI).

Specified by:
getFiler in interface Filer.Group
java.io.IOException

saveAll

public void saveAll(java.util.Map versions)
             throws java.io.IOException
Description copied from interface: Filer.Group
Take a Map from Filer ids (Strings representing opaque URIs) to Version; for each entry in the Map, get the appropriate Filer and save the Version to it.

Specified by:
saveAll in interface Filer.Group
java.io.IOException